[cells-gtk-devel] Re: Unable to load foreign library: X with cells-gtk-2006-06-30, SBCL, and FreeBSD

Peter Denno peter.denno at nist.gov
Sat Sep 9 12:55:16 UTC 2006


On Saturday 09 September 2006 08:22, rd wrote:
> > (cffi-sys::%load-foreign-library "/usr/local/lib/libglib-2.0.so")
>
> It returns T.
>
> However, (cffi-sys::%load-foreign-library
> "/usr/local/lib/libgthread-2.0.so") fails with the following:
>
> Error opening shared object "/usr/local/lib/libgthread-2.0.so":
>    /usr/local/lib/libgthread-2.0.so: Undefined symbol
> "pthread_attr_destroy". [Condition of type SIMPLE-ERROR]
>
> So this indicates that it's CFFI (or perhaps something in the way
> FreeBSD sets these libraries up)?

I don't know about that. I don't see anything in cells-gtk that contains the 
string pthread.  Perhaps one of the other glib libraries is referencing this 
symbol and it isn't in libgthread-2.0.so ??? nm doesn't print anything (not 
that I'm very adept with it...). But using emacs, I can see a string 
pthread_attr_destroy in libgthread. You can run other glib apps, right?

I'll look deeper tomorrow maybe, but I've gotta put my son to bed (Beijing 
time).

-- 
- Best regards,
   Peter



More information about the cells-gtk-devel mailing list