Hi!

Why our 32-bit run-time linker looks for shared libraries in the /usr/local/lib 
despite of its absence in /var/run/ld-elf32.so.hints
while 32-bit binary is started under FreeBSD 11.2-STABLE/amd64 ?

If it finds 64-bit version of library in /usr/local/lib, it fails immediately
and does not even re-try to look at other directories noted in 
/var/run/ld-elf32.so.hints
such as 
/usr/lib32:/usr/local/lib/compat/lib32:/usr/local/lib/compat/lib32/compat/pkg:/usr/local/lib32/compat
where right 32-bit version is located.

As workaround, I can use /etc/libmap32.conf and then the binary starts just fine
but there are so many libraries. It should not even try to look to 
/usr/local/lib
if it is not in the /var/run/ld-elf32.so.hints, should it?

_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to