On Sun, Jan 04, 2009 at 09:37:02PM -0600, David Dudley wrote: > I have a library that won't load with dlopen. Even worse, when > dlerror is called, it returns the wrong library name. > > The library is named > /usr/local/EPICS/lib/netbsd-x86/libEpics.so, > > I surrounded the call with print statements so I could capture it, > I get > ------------------------------------------------- > Doing dlopen on /usr/local/EPICS/lib/netbsd-x86/libEpics.so > Back from dlopen > Got error > Shared object "nss_dns.so.0" not found > ------------------------------------------------- > This is all in a single thread, inline. I guess your libEpics.so is itself marked as being dependent on nss_dns.so.0, and this is not being satisfied. Perhaps the link invocation for building libEpics should be investigated. -- Dan.
Attachment:
pgpfMnQxJVWh0.pgp
Description: PGP signature