NetBSD-Users archive

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

default search path for shared libraries



Hi everyone,

I'm reading https://netbsd.gw.com/cgi-bin/man-cgi?ld.elf_so+1+NetBSD-current.
I'm trying to understand why a test suite is failing due to missing
shared objects.

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? 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.


Home | Main Index | Thread Index | Old Index