compile ntp without ssl

Posted by Zulakis on Server Fault See other posts from Server Fault or by Zulakis
Published on 2013-06-23T14:02:06Z Indexed on 2013/06/30 16:22 UTC
Read the original article Hit count: 283

Filed under:
|
|

I need to deploy ntp to a very space-critical pxe-imaging-system. (Yes, each KB matters.) Footprint needs to be as small as possible, so I want to compile ntp without linking openssl. According to the manual this is should be possible:

If available, the OpenSSL library from http://www.openssl.org is used to support public key cryptography. The library must be built and installed prior to building NTP. The procedures for doing that are included in the OpenSSL documentation. The library is found during the normal NTP configure phase and the interface routines compiled automatically. Only the libcrypto.a library file and openssl header files are needed. If the library is not available or disabled, this step is not required.

I already tried out

./configure --without-openssl

however, this didn't help. This is my ldd output:

ldd ntpd/ntpd
        linux-gate.so.1 =>  (0xb7706000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb76d5000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7582000)
        librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7578000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb741d000)
        /lib/ld-linux.so.2 (0xb7707000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7419000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7404000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb73eb000)

The system I am compiling on is 32-bit debian lenny using openssl 0.9.8g-15+lenny16.

What is the correct configure option to compile ntp without openssl?

© Server Fault or respective owner

Related posts about openssl

Related posts about ntp