[squid-users] Squid Compile Errors

From: Justin Lawler <jlawler_at_amdocs.com>
Date: Tue, 20 Mar 2012 07:05:28 +0000

Hi,

We're getting the below error when compiling squid 3.1.19 - looks like a missing library 'libnet'. Strange things is its compiling fine on another machine that doesn't have 'libnet' installed (not found with pkginfo anyway). Do we really need libnet installed to get squid 3.1.19 compiled? And if so - does 'libnet' have many dependencies?

This is on solaris.

Any help much appreciated.

Thanks,
Justin

Making all in LDAP
gcc -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src -I../../../include -I../../../libltdl -I. -I/usr/local/ssl/include -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 -llber -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/local/lib/libstdc++.so -L/sol10/SOURCES/S10/gcc-3.4.6/objdir/sparc-sun-solaris2.10/libstdc++-v3/src -L/sol10/SOURCES/S10/gcc-3.4.6/objdir/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/openwin/lib -L/sol10/SOURCES/S10/gcc-3.4.6/objdir/gcc -L/usr/ccs/bin -L/usr/ccs/lib -lgcc_s -L/apps/cwapps/deploy/squid-3.1.19/lib -lmiscutil /usr/local/lib/libldap.so -L/usr/local/pgsql/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB.4.7/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwinlib /usr/local/lib/libsasl2.so -ldl -lgss -lssl -lcrypto /usr/local/lib/liblber.so -lgen -lnet -lm -lsocket -lresolv -lnsl -pthreads -R/usr/local/lib -R/usr/local/lib
ld: fatal: library -lnet: not found
ld: fatal: File processing errors. No output written to squid_ldap_auth
collect2: ld returned 1 exit status
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 Tue Mar 20 2012 - 07:05:45 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 20 2012 - 12:00:04 MDT