On Thu, 2008-04-10 at 17:50 -0700, Luke Lee wrote:
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
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/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 ""
| #define PACKAGE_BUGREPORT ""
| #define OPENLDAP_PACKAGE "OpenLDAP"
I have the required include and libs found in the env:
Your last include is the problem, it should be: -I/usr/local/ssl/include
Can anyone please help resolve this problem? Thanks!
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around