On 11/02/2012 8:01 p.m., Justin Lawler wrote:
Apologies - actual error earlier in the process - when compiling LDAP:


Making all in LDAP
gcc -DHAVE_CONFIG_H  -I../../.. -I../../../include -I../../../src  
-I../../../include  -I../../../libltdl  -I.    -Wall -Wpointer-arith 
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror 
-D_REENTRANT -pthreads -Wall -g -O2 -MT squid_ldap_auth.o -MD -MP -MF 
.deps/squid_ldap_auth.Tpo -c -o squid_ldap_auth.o squid_ldap_auth.c
mv -f .deps/squid_ldap_auth.Tpo .deps/squid_ldap_auth.Po
/bin/bash ../../../libtool --tag=CC    --mode=link gcc -Wall -Wpointer-arith 
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror 
-D_REENTRANT -pthreads -Wall -g -O2   -g -o squid_ldap_auth squid_ldap_auth.o 
../../../compat/libcompat.la  -L../../../lib -lmiscutil  -lldap    -lm -lsocket 
-lresolv -lnsl
libtool: link: gcc -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes 
-Wmissing-declarations -Wcomments -Werror -D_REENTRANT -pthreads -Wall -g -O2 
-g -o squid_ldap_auth squid_ldap_auth.o  ../../../compat/.libs/libcompat.a 
/usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lgcc_s 
-L/apps/cwapps/deployCSL/squid-3.1.19/lib -lmiscutil -lldap -lm -lsocket 
-lresolv -lnsl -pthreads -R/usr/sfw/lib -R/usr/sfw/lib
Undefined                       first referenced
  symbol                             in file
ldap_start_tls_s                    squid_ldap_auth.o
ldap_initialize                     squid_ldap_auth.o
ber_pvt_opt_on                      squid_ldap_auth.o
ld: fatal: Symbol referencing errors. No output written to squid_ldap_auth
collect2: ld returned 1 exit status
*** Error code 1

You do not seem to have a development version of the "libber" library installed, or at least not in a place Squid can locate it.

Amos

Reply via email to