[Samba] compile errors --with-ldapsam

Barry, Christopher cbarry at infiniconsys.com
Tue Mar 18 19:00:42 GMT 2003


Hi all,
	I'm getting the following error when building today's SAMBA_2_2 cvs code, with the following configure options

./configure --with-smbwrapper --with-smbmount --with-ldapsam --with-quotas --with-msdfs --with-acl-support --with-libsmbclient

<snip>
Compiling passdb/pdb_tdb.c
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c:48: lber.h: No such file or directory
passdb/pdb_ldap.c:49: ldap.h: No such file or directory
make: *** [passdb/pdb_ldap.o] Error 1

googling, I found this, as a possible fix:

export CPPFLAGS='-I/usr/local/include -L/usr/local/lib'

to be done prior to ./configure --with-<options> - tried it - no worky.

Ideas?

Thanks,
Christopher

--
Christopher Barry
Manager of Information Systems
InfiniCon Systems
http://www.infiniconsys.com
office: 610.233.4747
direct: 610.233.4870
cell:   267.879.8321


More information about the samba mailing list