On Wed, Jul 31, 2002 at 11:33:00AM -0400, Patrick Best-TM wrote:
> configure:8130: gcc -o conftest -g -O2 -Wall -Wpointer-arith
> -Wno-uninitialized -I/usr/local/ssl/include -I/usr/loca
> l/include -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib
> -R/usr/local/lib conftest.c -lz -lsocket -lnsl
> -lcrypto >&5
> Undefined first referenced
> symbol in file
> dlclose
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit
> dependen
> cy /usr/lib/libdl.so.1)
> dlsym
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit
> dependen
> cy /usr/lib/libdl.so.1)
> dlopen
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit
> dependen
> cy /usr/lib/libdl.so.1)
> ld: fatal: Symbol referencing errors. No output written to conftest
> collect2: ld returned 1 exit status
> configure:8133: $? = 1
> configure: failed program was:
> #line 8104 "configure"
It seems that you have installed openssl-engine-0.9.6e, which supports
dynamic loading of modules. It therefore requires the dynamic loading (dl*)
functions, provided by adding "-ldl" when linking.
./configure --with-libs="-ldl" ...
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]