NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Shared object "libintl.so.9" not found (but its there)
On Wed, Mar 11, 2020 at 8:25 PM Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> Jeffrey Walton <noloader%gmail.com@localhost> 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.
Yes.
> 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.
I don't follow. Please forgive my ignorance.
I'm building using my build scripts from
https://github.com/noloader/Build-Scripts . They feature test, set
package options, configure, make and make install. Everything someone
would do manually. Nothing fancy.
This does not make sense, either:
$ ldd /usr/pkg/bin/git
/usr/pkg/bin/git:
-lpcre2-8.0 => /usr/pkg/lib/libpcre2-8.so.0
-lpthread.1 => /usr/lib/libpthread.so.1
-lc.12 => /usr/lib/libc.so.12
-lz.1 => /usr/lib/libz.so.1
-lintl.1 => /usr/lib/libintl.so.1
ldd says libintl.so.1 should be used.
I can't seem to get more information though:
$ LD_DEBUG=files 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
Jeff
Home |
Main Index |
Thread Index |
Old Index