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

rd 162144 at gmail.com
Sat Sep 9 23:18:48 UTC 2006


Peter Denno wrote:
> 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 didn't see anything about pthread in the cells-gtk
tree either, but I'm so new to it that I don't know if
that means anything.  As far as I can remember, the glib
stuff installed normally, probably as a dependency for GTK.
I've never had any trouble running any glib/gtk application.

That's part of why this was so confusing to me; I ought to
have pretty close to a default setup for FreeBSD.  I would've
thought that other people would've seen this before.

I think I'm going to try to set up a temporary linux in qemu,
just to see if it'll work.

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

Thank you for all your help.




More information about the cells-gtk-devel mailing list