Hi!

  I've the same problem with two different program, I can't compile with
LDAP support.
  The first is ISC Dhcpd ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.3.tar.gz
with LDAP patch http://www.newwave.net/~masneyb/dhcp-3.0.3-ldap-patch. I
got the following:
Making all in common
cc -g  -I/tmp/dhcp-3.0.3  -I/tmp/dhcp-3.0.3/includes    -c raw.c
In file included from raw.c:53:
/tmp/dhcp-3.0.3/includes/dhcpd.h:83:19: ldap.h: No such file or directory
In file included from raw.c:53:
/tmp/dhcp-3.0.3/includes/dhcpd.h:259: error: syntax error before
"LDAPMessage"
*** Error code 1

  The other program is gnarwl,
http://www.home.unix-ag.org/patrick/software/gnarwl/gnarwl-3.3.tgz, the
configure said:
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gdbm_open in -lgdbm... no
checking for ldap_init in -lldap... no
checking for ldap_set_option... no
checking for iconv... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf.h

I've set shlib_dirs="$shlib_dirs /usr/local/lib". OpenLDAP server and
client is installed. What I'm missing?

  Best Regards
Zoltan Beck

Reply via email to