use of /usr/lib/vN
What determines whether /usr/lib/v{8,9} actually gets searched by the
dynamic loader?
I have libssl0.9.6g-9, which populates /usr/lib/v8 and /usr/lib/v9.
On an ultra, I see:
$ ldd /usr/sbin/sshd |grep libcrypto
libcrypto.so.0.9.6 => /usr/lib/v9/libcrypto.so.0.9.6 (0x7012c000)
But on a sparcstation 5:
$ ldd /usr/sbin/sshd |grep libcrypto
libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x5011c000)
In both cases there's no LD_LIBRARY_PATH &c set, and they both have
libc6 2.2.5-14.3, which I assume determines the dynamic linking. If I
do set LD_LIBRARY_PATH, the 5 does pick up /usr/lib/v8/libcrypto.so.0.9.6.
Obviously it's more important to get the tuned version on the slower
box, not the faster one :-/.
Reply to: