Jeffrey Walton <[email protected]> writes: > 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 Why do you have anything in /usr/local? Is this pkgsrc? Is this where git is? > 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] so you have libintl in /usr/local and git in /usr/pkg. I would suggest that you limit to base system and pkgsrc, and try to simplify. You can do a git build and look in work/.buildlink to see what it found. In theory only things in there are visible to the build, and in practice for libs that's 99.9+% true.
