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

(ITS#7097) freebsd 8.2 sql.h not found when file is actualy in /usr/local/include

Full_Name: Paul Kudla
Version: 2.4.23 & 2.4.28
OS: Freebsd 8.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Simply put openldap will not configure

How do i get it to find the sql.h file

checking number of arguments of ctime_r... 2
checking number of arguments of gethostbyname_r... 6
checking number of arguments of gethostbyaddr_r... 8
checking for openlog... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
configure: error: could not locate SQL headers

installed UnixODBC version unixODBC-2.3.1

[00:28:54] root@ldap /usr/local/src/openldap-2.4.23
# ll /usr/local/include/sql.h
-rw-r--r--  1 root  wheel  32305 Nov 28 11:58 /usr/local/include/sql.h

[00:34:18] root@ldap /usr/local/src/openldap-2.4.23

this issue googles alot without any clear explanation.

have no problem contributing to the cause - let me know how.