RE: [squid-users] ldap on sun

From: Tomas Palfi <[email protected]>
Date: Thu, 12 Dec 2002 09:19:58 -0000

henrik,

thank you, i was getting really nowhere with that. when is it most likely
to be released please???

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@marasystems.com]
Sent: 12 December 2002 00:25
To: Tomas Palfi; 'squid-users@squid-cache.org'
Subject: Re: [squid-users] ldap on sun

Solaris needs -lnsl -lsocket IIRC..

These are supposed to be added automatically by Squid configure, but
this dependency is missing from the ldap_group helper Makefile.am.

This should be fixed in the next Squid-2.5 snapshot release.

Regards
Henrik

On Wednesday 11 December 2002 15.18, Tomas Palfi wrote:
> to all,
>
> trying to compile ldap on sun and can't get beyond this point.
> previously i have installed openldap as i was missing header files.
> the openldap installation has been done with these parameters
> disabled ldbm and slapd. but that should not affect this helper's
> installation and why is it failing at the link aditor. please help
> if you know (i've been running squid-2.5 for some time and this is
> an addtional module)
>
> gcc -g -Wall -g -o squid_ldap_group squid_ldap_group.o -lldap
> -llber Undefined first referenced
> symbol in file
> socket /usr/local/lib/libldap.so
> getpeername /usr/local/lib/libldap.so
> dn_expand /usr/local/lib/libldap.so
> gethostbyname_r /usr/local/lib/libldap.so
> setsockopt /usr/local/lib/libldap.so
> inet_aton /usr/local/lib/libldap.so
> inet_ntoa /usr/local/lib/libldap.so
> shutdown /usr/local/lib/libldap.so
> gethostbyaddr_r /usr/local/lib/libldap.so
> res_query /usr/local/lib/libldap.so
> connect /usr/local/lib/libldap.so
> ld: fatal: Symbol referencing errors. No output written to
> squid_ldap_group collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `squid_ldap_group'

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thu Dec 12 2002 - 02:20:04 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:03 MST