NetBSD-Users archive

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

Shared object "libintl.so.9" not found (but its there)



Hi Everyone,

I'm having trouble with paths on NetBSD 8.1. While trying to init a submodule:

netbsd8$ cd ~/ldns/
netbsd8$ git submodule --init
Shared object "libintl.so.9" not found
Shared object "libintl.so.9" not found
Shared object "libintl.so.9" not found
Shared object "libintl.so.9" not found

netbsd8$ find /usr/lib -name 'libintl.so*'
/usr/lib/libintl.so
/usr/lib/libintl.so.1
/usr/lib/libintl.so.1.1

$ find /usr/local/lib -name 'libintl.so*'
/usr/local/lib/libintl.so.9.6
/usr/local/lib/libintl.so.9
/usr/local/lib/libintl.so

I think /usr/local/lib/libintl.so.9 is coming from iconv/gettext,
which was installed as part of a dependency for curl and git. (I am
actually dying in my curl build, so I don't have an updated curl and
git yet).

But:

netbsd8$ readelf -d /usr/pkg/bin/git | grep -i -E 'rpath|runpath'
 0x000000000000000f (RPATH)   Library rpath:
[/usr/pkg/lib:/usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE]

There is no git elsewhere on the system. I can't override a RPATH, so
LD_LIBRARY_PATH tricks won't work. I need a RUNPATH for the override.

Does anyone know why libintl.so.9 is being used? And why libintl.so.9
cannot be found?

Thanks in advance.


Home | Main Index | Thread Index | Old Index