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

configure could not find openssl/ssl.h (ITS#1505)

Full_Name: Richard Chen
Version: openldap-2.0.19
OS: redhat linux 6.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I have installed openssl in /usr/local/ssl which worked fine with
other programs such as curl and apache.

$ ls -l /usr/local/ssl/include/openssl/ssl.h
-rw-r--r--   1 root     root        60614 Dec 17 21:15

I have tried

$ CPPFLAGS=-I/usr/local/ssl ./configure --with-tls
$ CFLAGS=-I/usr/local/ssl ./configure --with-tls
$ ./configure --includedir=/usr/local/ssl --with-tls
$ ./configure --includedir=/usr/local/ssl/include/openssl --with-tls

and other combinations to no avail. configure always complained that
it could not find ssl.h.

It looks like the setting mechanism for includedir is broken in configure.