compliling samba 2.2.0 whith ldap (suite)

eric german eric.german at cp.finances.gouv.fr
Mon Apr 30 09:44:25 GMT 2001


i m progressing in way ,

i have an error  :
for the link phase

can  you help me

thanks
eric german
----- result of make ----

passdb/passdb.o: In function `initialize_password_db':
passdb/passdb.o(.text+0x10): undefined reference to
`ldap_initialize_password_db'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Erreur 1


Using FLAGS =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lcups  -ldl -lcrypt -lnsl
Linking bin/smbd
passdb/passdb.o: In function `initialize_password_db':
passdb/passdb.o(.text+0x10): undefined reference to
`ldap_initialize_password_db'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Erreur 1





More information about the samba-technical mailing list