[ntp:hackers] Should configure find openssl on debian by default?

Hal Murray hmurray at megapathdsl.net
Sun Mar 27 03:23:25 UTC 2016


brian.utterback at oracle.com said:
> I am setting up a NTP dev environment on a Debian Linux distro for the
> first time and it appears that configure fails to find libcrypto.so even
> though it is installed. I know that I can specify the lib and inc
> locations, but is that normal? The library is in  /usr/lib/x86_64-linux-gnu
> which seems odd to me but I have never used  Debian before. Should the fact
> that it isn't found be considered a bug? 

It works for me.  What version of Debian are you using?  What hardware?

Do you have anything strange in your environment setup or search path?

>From config.h:
/* Use OpenSSL? */
#define OPENSSL /**/
/* Use OpenSSL's crypto random functions */
#define USE_OPENSSL_CRYPTO_RAND 1

ldd for ntpd ays:
        linux-vdso.so.1 (0x00007fffd0129000)
        libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f53eafd4000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f53eacd3000)
        libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 
(0x00007f53eaa73000)
        libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 
(0x00007f53ea677000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007f53ea45a000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f53ea0af000)
        libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 
(0x00007f53e9eaa000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f53e9ca6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f53eb1d9000)


-- 
These are my opinions.  I hate spam.





More information about the hackers mailing list