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

Re: configure can't find tls



Wayne Bruce wrote:
You can either rebuild OpenSSL with the no-dso option or include -ldl in the libraries for OpenLDAP. I don't remember what the brst way to do this is. Perhaps someone else can answer that.

The no-dso option with OpenSSL appears to work; I've added it to my procedures for now. Thanks so much for that solution!


Jon Roberts
www.mentata.com

Wayne Bruce wrote:

There should be a config.log file in the directory in which you ran configure. Load that into an editor and scan for the checking for... message. That might give you a clue to what is missing.

I was checking this file before, but have to admit I got a little lost within it. Now I see this is probably the relevant point of failure:


...
configure:19589: checking for SSL_library_init in -lssl
configure:19619: gcc -o conftest -O -g -I/usr/local/include -L/usr/local/lib conftest.c -lssl -lcrypto -lresolv >&5
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x2e5): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x3c6): undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x451): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x52d): undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x593): undefined reference to `dlclose'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x667): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x6d8): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x71d): undefined reference to `dlerror'
collect2: ld returned 1 exit status
...


Does this mean the OpenSSL 0.9.8e library itself is no good? I can rebuild another version or resort to Fedora RPMs, but if there is something else I can do I'd prefer to use the latest version.