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

OpenLDAP 2.3 Configure Error

I'm building a custom OpenLDAP 2.3 but failed at the configure stage with the following error messages:
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: Could not locate TLS/SSL package
I've installed OpenSSL at the default /usr/local/ssl localtion with threads, shared, and zlib support.
In the configure log, the ssl.h was not found. A few lines of the log are attached below:
configure:18067: cc -E -I/usr/local/include -I/usr/local/BerkeleyDB.4.6/include -I/usr/local/krb5-1.6.3/include -I/usr/local/ssl/include/openssl conftest.c
configure:18073: $? = 0
configure:18093: result: yes
configure:18128: checking for sys/un.h
configure:18135: result: yes
configure:19451: checking openssl/ssl.h usability
configure:19463: cc -c -g -O2 -I/usr/local/include -I/usr/local/BerkeleyDB.4.6/include -I/usr/local/krb5-1.6.3/include -I/usr/local/ssl/include/openssl conftest.c >&5
conftest.c:127:25: openssl/ssl.h: No such file or directory
configure:19469: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
I have the required include and libs found in the env:
LDFLAGS=-L/usr/local/lib -L/usr/local/BerkeleyDB.4.6/lib -L/usr/local/krb5-1.6.3/lib -L/usr/local/ssl/lib
CPPFLAGS=-I/usr/local/include -I/usr/local/BerkeleyDB.4.6/include -I/usr/local/krb5-1.6.3/include -I/usr/local/ssl/include/openssl
Can anyone please help resolve this problem? Thanks!
Luke Lee

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around