Simon Geard wrote:
I can't help you with 64-bit issues or CLFS, since I don't own a 64-bit
system. But I can tell you you're heading down completely the wrong
track looking for dlopen and friends as part of OpenSSL. They're
standard functions provided by glibc, so you certainly should have them
on the system.
In any case, try providing us the actual messages, and someone might be
able to help.
Simon.
Hi Simon,
Well, I couldn't verify that glibc contains those functions but the
way I read the output from make for ntpd it is looking in libcrypto for
them and in fact nm on libcrypto.a shows the names but says they are
unresolved. Here is the final output from make in the ntp--4.2.2p3-RC2
source directory.
make[2]: Entering directory `/usr/src/secondary/ntp-4.2.2p3-RC2/ntpd'
gcc -fPIC -m64 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith
-Wshadow -Wstrict-prototypes -L/usr/local/ssl/lib -o ntpd cmd_args.o
ntp_config.o ntp_io.o ntpd.o version.o libntpd.a ../libntp/libntp.a -lm
-lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x2aa): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x356): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x3ca): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x471): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x4cd): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x582): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x5eb): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x613): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [ntpd] Error 1
make[2]: Leaving directory `/usr/src/secondary/ntp-4.2.2p3-RC2/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/secondary/ntp-4.2.2p3-RC2'
make: *** [all] Error 2
Arnie
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page