[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [POSSIBLE VIRUS:###] RE: Error while trying to compile "with TLS"

--On Thursday, March 23, 2006 10:23 AM +0100 Johan.GUIHENEUF@external.thalesgroup.com wrote:

Thank you for your advice about Heimdal and MIT. I will try to compile
instead of MIT krb5. I join the config.log file corresponding to the
failing compiling. I hope someone will find a track to the solution.

Hi Johan,

Please keep replies to the list. :)

As for the SSL issues you are having, the problem is really quite clear from the config.log:

configure:19418: cc -o conftest -g -O2 -I/usr/local/ssl/include -L/usr/local/ssl/lib -L/usr/local/lib conftest.c -lssl -lcrypto -lresolv -lssl >&5
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x45): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0xa1): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0xcc): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x15b): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x221): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x295): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x313): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x38f): undefined reference to `dlerror'
collect2: ld returned 1 exit status
configure:19424: $? = 1
configure: failed program was:

Your libcrypto library contains references to functions in other libraries that were not made a part of the linkpath, so that needs to be addressed.

Is there any particular reason you are building your libraries static instead of shared?


Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html