[ntp:questions] Recompiling ntp with FIPS openssl

Dave Hart davehart at gmail.com
Wed Dec 16 10:36:30 UTC 2009


On Dec 15, 17:41 UTC, Gellatly, Anna wrote:
> Regarding the potentially missing libcrypto.so ...
> I have run ldd on a ntpd versions I have (pre-upgraded/non openssl fips and upgraded/openssl FIPS) and see this list
>
> Working ntpd version 4.2.2p1-9
> Libm.so.6
> Libcrypto.so.6
> Libcap.so.1
> Libc.so.6
> Libdl.so.2
> Libz.so.1
> Ld-linux-x86-64.so.2
>
> Non-working nptd version 4.2.4p7
> Libm.so.6
> Libc.so.6
> Ld-linux-x86-64.so.2
>
> I don't understand why libcrypto is not included in my newly built ntpd? All libs in my newly created ntpd are found.

Take a look at the gcc command line that links ntpd.  My hunch is it
is referencing libcrypto.a instead of libcrypto.so, so OpenSSL is
being linked in statically.  If so, you need to rebuild OpenSSL for
shared instead of static libs.

Cheers,
Dave Hart




More information about the questions mailing list