Re: [squid-users] ldap_auth problem

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 19 Jan 2007 21:58:18 +0100

fre 2007-01-19 klockan 16:34 +0100 skrev Marco Sarti:
> Hello,
>
> I have a problem about ldap_auth on squid (Version 2.6.STABLE7) on
> Linux RedHat ES 4.
> When I start the helper, I obtain an error:
>
> /usr/lib/squid/ldap_auth: error while loading shared libraries:
> libldap_r.so.2: cannot open shared object file: No such file or
> directory
>
> I see that this library is (obviously) not present in /usr/lib, but
> libldap_r.so yes.

Then something is flawed about your LDAP installation. libldap_r.so
should be a symbolic link to the correct library.

Try running (as root)

  ldconfig -v /usr/lib/libldap_r*.so.*

and verify that /usr/lib/libldap_r.so also links to the correct library
version.

Also verify that you do not have any other libldap_r.so file around
messing with you. Check /lib, /usr/lib, /usr/local/lib and the other
usual places.

Also verify that /usr/lib/libldap_r.so has a correct SONAME telling the
full name of the library (same as libldap_r.so links to).

  objdump -p /usr/lib/libldap_r.so | grep SONAME

Regards
Henrik

Received on Fri Jan 19 2007 - 13:58:25 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST