ons 2006-05-24 klockan 15:08 +0100 skrev P D: > when I try to run the squid_ldap_group application to test it's > working I get an error: > "./squid_ldap_group: error while loading shared libraries: > libldap-2.3.so.0: cann > ot open shared object file: No such file or directory" > > The file does exist in the following location: /usr/local/lib/libldap-2.3.so.0 > > I think it might be an environment variable that I need to set such as > LD_LIBRARY_PATH ? Could anyone advise ? Yes, to use libraries in /usr/local/lib either LD_LIBRARY_PATH needs to contain /usr/local/lib or /etc/ld.so.conf.d needs to tell the system that libraries from /usr/local/lib is OK. > I'm using RHEL4. I compiled squid using the following swicthes: > ./configure --prefix=/usr/local/squid --enable-auth="basic,ntlm" > --with-external-acl-helpers="ldap_group" > I then did a "make" and "make install" in the > ./squid-2.5.STABLE14/helpers/external_acl/ldap_group/ folder to > install the helper on the system. Any reason to why you are using OpenLDAP from /usr/local instead of the system default version of OpenLDAP? Regards Henrik
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel