RE: [squid-users] compile error on Squid 3.1.18

From: Justin Lawler <jlawler_at_amdocs.com>
Date: Sun, 12 Feb 2012 08:20:31 +0000

Thanks Amos - but trying to find the library name, can't seem to google anything on libber? Can't figure it out from the 'configure' script either. Any hint?

And where would the usual directory containing this library be? We've built previously with existing versions of squid (3.1.16), so it should be on the machine.

BTW - this is a solaris machine. And we're only having problems compiling on one instance, so other instances should have all the dependencies.

Thanks,
Justin

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Saturday, February 11, 2012 10:17 PM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] compile error on Squid 3.1.18

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
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Received on Sun Feb 12 2012 - 08:20:42 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 13 2012 - 12:00:03 MST