Hi! I'm trying to install Samba 3.0.0 into an OpenBSD 3.3 server. I have copied ldap.h from OpenLDAP 2.1.22 distribution to /usr/local/include. However, configure does not seem to find it: checking for LDAP support... auto checking ldap.h usability... no checking ldap.h presence... no checking for ldap.h... no I get the same result with ./configure --libdir=/usr/local/lib --includedir=/usr/local/include. I have also tried making symlink from /usr/local/include/ldap.h to /usr/include/ldap.h but this makes no difference. It seems I have the same problem with lber.h which is also located in /usr/local/include: checking lber.h usability... no checking lber.h presence... no checking for lber.h... no configure: WARNING: ldap.h is needed for LDAP support Any ideas how to make this work? Thanks in advance! - Jyri
Gerald (Jerry) Carter
2003-Nov-07 15:40 UTC
[Samba] Samba 3.0.0 & OpenBSD 3.3: ldap.h not found
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jyri wrote: | Hi! | | I'm trying to install Samba 3.0.0 into an OpenBSD 3.3 server. I have | copied ldap.h from OpenLDAP 2.1.22 distribution to /usr/local/include. | However, configure does not seem to find it: | | checking for LDAP support... auto | checking ldap.h usability... no | checking ldap.h presence... no | checking for ldap.h... no | | I get the same result with ./configure --libdir=/usr/local/lib | --includedir=/usr/local/include. | | I have also tried making symlink from /usr/local/include/ldap.h to | /usr/include/ldap.h but this makes no difference. | | It seems I have the same problem with lber.h which is also located in | /usr/local/include: | | checking lber.h usability... no | checking lber.h presence... no | checking for lber.h... no | configure: WARNING: ldap.h is needed for LDAP support | | Any ideas how to make this work? Thanks in advance! Check the config.log for the source of the error. Might be missing a library or something. Does OpenBSD require the -lrsolv lib still? (vague memories of this) cheers, jerry - -- ~ ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/q7zuIR7qMdg1EfYRAj/WAJ9gAmXlq4s1WREZILvAen8EiTGZZgCeIztS kGwAhPg2/brhkCB7301DD0U=Ldoc -----END PGP SIGNATURE-----