[openssl-users] Build from source; library not found?

Hiran Chaudhuri hiran.chaudhuri at mail.de
Wed May 17 13:08:05 UTC 2017


Hi there.   I have been building Openssl for quite some time now. Just recently I switched to shared mode that will also create shared libraries. What I am wondering about: After configure/make/make install I find the expected libraries in the desired output directory. Why can ldd not resolve a librarie's dependencies? The target file is just in the same directory!   user at server:/prefix/openssl/lib> ls
engines libcrypto.a libcrypto.so libcrypto.so.1.0.0 libssl.a libssl.so libssl.so.1.0.0 pkgconfig
user at server:/prefix/openssl/lib> ldd libssl.so.1.0.0
 linux-vdso.so.1 => (0x00007ffdae1fb000)
 libcrypto.so.1.0.0 => not found
 libdl.so.2 => /lib64/libdl.so.2 (0x00007f8173425000)
 libc.so.6 => /lib64/libc.so.6 (0x00007f81730a9000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f81738ad000)
user at server:/prefix/openssl/lib>   Is this normal behaviour? Or is it because I entered a prefix that is not part of the system's default lib path?   Hiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170517/7fa242d8/attachment-0001.html>


More information about the openssl-users mailing list