Jeffrey Walton writes:
> Something looks off with NetBSD. It is the only platform I have problems with:
>
> gcc -g2 -O2 -fPIC -pthread -L/opt/local/lib -Wl,-R,/../lib
> -Wl,-R,/opt/local/
> lib -Wl,--enable-new-dtags -o src/bison src/bison-AnnotationList.o
> src/bison-Ina
> dequacyList.o
On Fri, Mar 27, 2020 at 02:19:56AM -0400, Jeffrey Walton wrote:
> I really don't understand why the loader cannot find these libraries.
> They are exactly where they should be.
You need to check the binaries (and .so) involved, maybe something went
wrong at link time?
Martin
On Mon, Mar 23, 2020 at 5:41 AM Martin Husemann wrote:
>
> On Mon, Mar 23, 2020 at 01:41:52AM -0400, Jeffrey Walton wrote:
> >
> > Under LD_LIBRARY_PATH, the man page says:
> >
> > A colon separated list of directories, overriding the
> > defa
At Mon, 23 Mar 2020 10:41:14 +0100, Martin Husemann wrote:
Subject: Re: default search path for shared libraries
>
> On Mon, Mar 23, 2020 at 01:41:52AM -0400, Jeffrey Walton wrote:
> >
> > Under LD_LIBRARY_PATH, the man page says:
> >
> > A colon separated l
On Mon, Mar 23, 2020 at 01:41:52AM -0400, Jeffrey Walton wrote:
>
> Under LD_LIBRARY_PATH, the man page says:
>
> A colon separated list of directories, overriding the
> default search path for shared libraries.
>
> What is the default search path?
That is
path for shared libraries.
What is the default search path? How is the list of paths formed?
The man page also says ld.so.conf(5) is used, but the ELF FAQ says it
is not. Also see https://www.netbsd.org/docs/elf.html.
Which is correct?
Thanks in advance.