Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cannot dlopen non-loadable /usr/lib/libpthread.so.1



On Tue, Jan 18, 2011 at 11:14:35PM +0100, Joerg Sonnenberger wrote:
> ld.elf_so recently got a new feature to check for this. If a program
> wants to dlopen a module that needs libpthread, the main program must be
> linked against as well. Variant I: zlui-gtk.so doesn't actually need
> libpthread.so, because the pthread stubs in libc are good enough.
> Variant II: link the main program against libpthread.

For II, I understand how to go about linking the main program against
libpthread.

For I: Do you mean the solution is not to link zlui-gtk.so against
libpthread? (If it links in gtk, I don't think it can do that without
libpthread.)
 Thomas


Home | Main Index | Thread Index | Old Index