Hello, I am trying to compile OpenLDAP 2.3.13 on an AIX5.3 box (using IBM's C compiler v6.0) and I can not make it find the TLS/SSL package. I previously compiled and tested OpenSSL 0.9.8a on the same system (and it works). OpenSSL is compiled with support for zlib (v1.2.3) in case that's relevant.
$ ls -l /usr/local/lib total 16592 drwxr-xr-x 2 root system 4096 Dec 21 14:06 engines -rw-r--r-- 1 root system 3642703 Dec 21 14:06 libcrypto.a lrwxrwxrwx 1 root system 18 Dec 21 14:06 libcrypto.so -> libcrypto.so.0.9.8 -r-xr-xr-x 1 root system 3598611 Dec 21 14:06 libcrypto.so.0.9.8 -rw-r--r-- 1 root system 610494 Dec 21 14:06 libssl.a lrwxrwxrwx 1 root system 15 Dec 21 14:06 libssl.so -> libssl.so.0.9.8 -r-xr-xr-x 1 root system 627355 Dec 21 14:06 libssl.so.0.9.8 drwxr-xr-x 2 root system 256 Dec 21 14:06 pkgconfig $ env <snip> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include -I/usr/local/include/openssl OBJECT_MODE=64 </snip> I use the following command to configure OpenLDAP: $ ./configure --enable-dynamic --disable-backends --enable-ldap --with-tls <snip> checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for SSL_library_init in -lssl... no checking for ssl3_accept in -lssl... no checking OpenSSL library version (CRL checking capability)... yes configure: error: Could not locate TLS/SSL package </snip> Here're a few (relevant?) lines from config.log: <snip> configure:19270: result: yes configure:19305: checking for openssl/ssl.h configure:19312: result: yes configure:19327: checking for SSL_library_init in -lssl configure:19357: cc_r -o conftest -g -I/usr/local/include -I/usr/local/include/openssl -L/usr/local/l ib conftest.c -l ssl -lcrypto >&5 ld: 0711-317 ERROR: Undefined symbol: .inflateEnd ld: 0711-317 ERROR: Undefined symbol: .deflateEnd ld: 0711-317 ERROR: Undefined symbol: .inflate ld: 0711-317 ERROR: Undefined symbol: .deflate ld: 0711-317 ERROR: Undefined symbol: .inflateInit_ ld: 0711-317 ERROR: Undefined symbol: .deflateInit_ ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure:19363: $? = 8 </snip> Thank you in advance, Claus ____________________________________________ Claus Lund Systems Developer Department of Taxes Information Systems 133 State Street Montpelier, Vermont 05633-1401 (802) 828-3735
