Compileing with LDAP support

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Compileing with LDAP support

Beck Zoltan Gyula

  I've the same problem with two different program, I can't compile with
LDAP support.
  The first is ISC Dhcpd
with 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
*** Error code 1

  The other program is gnarwl,, 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