Re: [squid-users] ldap on sun

From: Henrik Nordstrom <[email protected]>
Date: Thu, 12 Dec 2002 01:24:36 +0100

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'
Received on Wed Dec 11 2002 - 17:24:09 MST

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