[ntp:questions] Building ntp 4.2.6p3 with openssl-0.9.8n fails

Joe Smithian joe.smithian at gmail.com
Mon May 30 20:41:44 UTC 2011


Hi All,

I tried building ntp 4.2.6p3 with openssl-0.9.8n on Redhat 7.2 but it failed
as you can see below. Build was OK with openssl-0.9.7d.

Is there a bug or a configuration issue?

I would appreciate your comments.

/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wno-strict-prototypes
-L/home/openssl/out/linux -o sntp crypto.o kod_management.o log.o main.o
networking.o sntp.o sntp-opts.o utilities.o  ./libopts/libopts.la -lm
../libntp/libntp.a -lcrypto
mkdir .libs
gcc -g -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Wno-strict-prototypes -o sntp crypto.o kod_management.o log.o main.o
networking.o sntp.o sntp-opts.o utilities.o  -L//home/openssl/out/linux
./libopts/.libs/libopts.a -lm ../libntp/libntp.a -lcrypto
/home/openssl/out/linux/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x59): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x84): undefined reference to `dlerror'
dso_dlfcn.o(.text+0x101): undefined reference to `dlclose'
/home/openssl/out/linux/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_bind_var':
dso_dlfcn.o(.text+0x1ca): undefined reference to `dlsym'
dso_dlfcn.o(.text+0x1f3): undefined reference to `dlerror'
/home/openssl/out/linux/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_bind_func':
dso_dlfcn.o(.text+0x2d2): undefined reference to `dlsym'
dso_dlfcn.o(.text+0x2fb): undefined reference to `dlerror'
/home/openssl/out/linux/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_unload':
dso_dlfcn.o(.text+0x5f9): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[4]: *** [sntp] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.6p3/sntp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.6p3/sntp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.6p3/sntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/ntp-4.2.6p3'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.25771 (%build)

Regards

Joe



More information about the questions mailing list