Menu

#31 compile error on Redhat Linux 9

open
build (26)
5
2006-02-15
2006-02-15
Anonymous
No

With openssl 0.9.8a and libpcap 0.9.4 installed, I
got the following make
error. Your help is greatly appreciated.

% ./configure --with-pcap=/usr/local --with-
openssl=/usr/local/ssl
...
% make
...
gcc debug.o r_assoc.o r_bitfield.o r_data.o
r_errors.o r_list.o r_replace.o r_time.o
network.o pcap-snoop.o proto_mod.o tcpconn.o
tcppack.o null_analyze.o ciphersuites.o
ssl.enums.o ssl_analyze.o ssl_rec.o ssldecode.o
sslprint.o sslxprint.o -o ssldump -
L/usr/local/ssl/lib -L/usr/local/lib -lssl -lcrypto -
lpcap -lm
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x35): In function `dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x95): In function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0xbc): In function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x147): In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x172): In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x237): In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x262): In function `dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)
(.text+0x51b): In function `dlfcn_unload':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [ssldump] Error 1

Discussion


Log in to post a comment.