Re: [squid-users] squid 3.0 ldap_auth compile problem

From: Alex Rousskov <[email protected]>
Date: Tue, 22 Jan 2008 08:25:50 -0700

On Tue, 2008-01-22 at 12:36 +0000, ronnie nyaruwabvu wrote:
> i am having errors when i compile squid 3.0 that inclueds ldap_auth on
> Solaris 10 x86 u4 running on a dell power edge 2950 Intel quad core
> server.

If you get no fixes on this list, please file a bug report at
http://www.squid-cache.org/bugs/index.cgi

Thank you,

Alex.

> # ./configure --prefix=/usr --enable-snmp --enable-delay-pools
> --enable-cache-digests --enable-basic-auth-helpers=LDAP --enable-icmp
> --enable-removal-policies --sysconfdir=/etc/squid
> --enable-storeio=ufs,aufs --enable-err-languages="English"
>
> here is an extract of the error message.
> gcc
> -Wall -g -g -o squid_ldap_auth squid_ldap_auth.o
> -L/sfw/squid-3.0.STABLE1/lib -lmiscutil -lldap -lpthread -lm -lresolv
> -lmalloc -lsocket -lnsl
> 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
> make: Fatal error: Command failed for target `squid_ldap_auth'
> Current working directory /sfw/squid-3.0.STABLE1/helpers/basic_auth/LDAP
> *** Error
> code 1
> The following command caused the error:
> failcom='exit 1'; \
> for f in x $MAKEFLAGS; do \
> case $f in \
> *=* | --[!k]*);; \
> *k*) failcom='fail=yes';; \
> esac; \
> done; \
> dot_seen=no; \
> target=`echo all-recursive | sed s/-recursive//`; \
> list='LDAP'; for subdir in $list; do \
> echo "Making $target in $subdir"; \
> if test "$subdir" = "."; then \
> dot_seen=yes; \
> local_target="$target-am"; \
> else \
> local_target="$target"; \
> fi; \
> (cd $subdir && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory
> /sfw/squid-3.0.STABLE1/helpers/basic_auth
> *** Error code 1
> The following command caused the error:
> failcom='exit 1'; \
> for f in x $MAKEFLAGS; do \
> case $f in \
> *=* | --[!k]*);; \
> *k*) failcom='fail=yes';; \
> esac; \
> done; \
> dot_seen=no; \
> target=`echo all-recursive | sed s/-recursive//`; \
> list='basic_auth ntlm_auth digest_auth negotiate_auth external_acl'; for subdir in $list; do \
> echo "Making $target in $subdir"; \
> if test "$subdir" = "."; then \
> dot_seen=yes; \
> local_target="$target-am"; \
> else \
> local_target="$target"; \
> fi; \
> (cd $subdir && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error:
> Command failed for target `all-recursive'
> Current working directory /sfw/squid-3.0.STABLE1/helpers
> *** Error code 1
> The following command caused the error:
> failcom='exit 1'; \
> for f in x $MAKEFLAGS; do \
> case $f in \
> *=* | --[!k]*);; \
> *k*) failcom='fail=yes';; \
> esac; \
> done; \
> dot_seen=no; \
> target=`echo all-recursive | sed s/-recursive//`; \
> list='lib snmplib scripts src icons errors doc helpers test-suite tools'; for subdir in $list; do \
> echo "Making $target in $subdir"; \
> if test "$subdir" = "."; then \
> dot_seen=yes; \
> local_target="$target-am"; \
> else \
> local_target="$target"; \
> fi; \
> (cd $subdir && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make
> "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-recursive'
>
> please help. thank you.
>
> regards,
>
> ronnie
>
>
>
>
> __________________________________________________________
> Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
>
Received on Tue Jan 22 2008 - 08:25:58 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST