Re: [Cpu-users] Compil problem on FBSD 4.5
Brought to you by:
matheny
From: Blake M. <ma...@db...> - 2002-06-09 13:13:57
|
Hello, the --with-ldap switch should point to the /base/ of your ldap installation, i.e. --with-ldap=/usr/local which would then set LDFLAGS=-L/usr/local/lib and CPPFLAGS=-I/usr/local/include. The errors below are because ldap.h and the openldap libs are not being found. -Blake Whatchu talkin' 'bout, Willis? > Hello cpu-users, > > > HI all im haveing problem compiling CPU in FreeBSD 4.5.. > > i have trid ./configure --with-ldap=/usr/local/include , ./configure > make --with-ldap=/usr/local/include and make. > > but non of this work.. :( can some 1 plz help me.. or wher can i get a > compild version for FreeBSD.. > > gcc -g -Wall -I../include -DCONFIGFILE=\"/usr/local/etc/cpu.cfg\" -L/usr/local/include -o cpu main.o getopt.o config.o ldap.o md5.o sha1.o base64.o password.o bgetpwent.o fileaction.o -lcrypt > ldap.o: In function `do_ldap_init': > /root/src/cpu-1.3.13/src/ldap.c:303: undefined reference to `ldap_init' > /root/src/cpu-1.3.13/src/ldap.c:318: undefined reference to `ldap_bind_s' > /root/src/cpu-1.3.13/src/ldap.c:324: undefined reference to `ldap_perror' > ldap.o: In function `do_ldap_group_mod': > /root/src/cpu-1.3.13/src/ldap.c(.text+0xf6b): undefined reference to `ldap_modrdn2_s' -- Blake Matheny ma...@db... http://www.dbaseiv.net |