Current-Users archive

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

Re: cannot dlopen non-loadable /usr/lib/

On Tue, Jan 18, 2011 at 11:05:58PM +0100, Thomas Klausner wrote:
> I've just seen this for the first time when starting fbreader.
> loading /usr/pkg/lib/zlibrary/ui/
> Cannot dlopen non-loadable /usr/lib/
> Does this ring a bell with anyone?

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: doesn't actually need, because the pthread stubs in libc are good enough.
Variant II: link the main program against libpthread.

Note: the problem this check is for is not new and applies to all NetBSD
releases (and most other systems).


Home | Main Index | Thread Index | Old Index