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.
Thanks for all the help.
Jon Roberts
www.mentata.com
Jon Roberts escreveu:
I built OpenSSL with:
./config --prefix=/usr/local --openssldir=/usr/local/openssl
which puts the libs in /usr/local/lib, the includes in
/usr/local/include/openssl (which I believe configure can find), and
paths man, misc, certs, private in /usr/local/openssl along with
openssl.cnf.
Again, Heimdal and Cyrus-SASL both compiled with the same libraries
and environment and they depend on OpenSSL, too. OpenLDAP's configure
even reports finding ssl.h (see output in original post), but I'm not
config literate enough to determine what exactly it's looking for when
it finally balks.