On Thu, 22 Jun 2000, [iso-8859-1] César Augusto M. Gomes wrote:
> Hello,
>
> I've tried to complide (I use make -f Makefile) squid_ldap_auth in
> /souce/to/squid/auth_modules/LDAP, but it returns this:
>
> egcs -c squid_ldap_auth.c -o squid_ldap_auth.o
> egcs -g -o squid_ldap_auth squid_ldap_auth.o -lldap llber
> /usr/lib/libldap.so: undefined reference to ' res_search'
> /usr/lib/libldap.so: undefined reference to 'dn_expand'
> /usr/lib/libldap.so: undefined reference to '_getshort'
> collect2: ld returned 1 exit status
> make:***[squid_ldap_auth] Error 1
>
>
>
> I don't known what's happenned. PLEASE I NEED YOU HELP.
>
> WHAT CAN I DO?
These are resolver (DNS) functions. Try adding -lresolv
or -lbind to the compile command.
egcs -g -o squid_ldap_auth squid_ldap_auth.o -lldap -llber -lresolv
Duane W.
Received on Thu Jun 22 2000 - 22:55:57 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:08 MST