0

For some reason reference to libcrypto appears twice while executing "ldd". Why? does the binary selects the second instance of libcrypto?

root# ldd openssl | grep libcrypto
        libcrypto.so.1.0.0 =>    /server/lib/libcrypto.so.1.0.0
        libcrypto.so.1.0.0 =>    /lib/libcrypto.so.1.0.0
15412s
  • 3,298
  • 5
  • 28
  • 38
  • `ls` should show `/lib/libcrypto.so.1.0` is the real file; while `libcrypto.so` and `libcrypto.so.1.0.0` are symlinks. – jww Jul 13 '16 at 14:35
  • I have this file twice on my system, is should use /server/lib/libcrypto.so.1.0.0 – 15412s Jul 13 '16 at 14:37
  • why does it shows libcrypto.so.1.0.0 file twice? like the pointer(libcrypto.so.1.0.0) is beeing set twice – 15412s Jul 13 '16 at 14:38

0 Answers0