Re: [SQU] ldap helper won't start

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 19 Jan 2001 09:44:53 +0100

You either need to recompile ldap_auth to include /usr/local/lib in the
runtime library search path (-R compiler option on Solaris), or make a
wrapper around it to set LD_LIBRARY_PATH.

put this in auth_ldap.wrapper

#!/bin/sh
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH
exec `dirname $0`/`basename $0 .wrapper` "$@"
EOF

make it executable, and point Squid to this script instead of auth_ldap.

--
Henrik Nordstrom
Squid hacker
Rick Francis wrote:
> 
> here's the entry from my /var/squid/cache/cache.log showing the helper
> failing to start.
> 
> unfortunately, libldap.so.2 is present in /usr/local/lib via the install of
> openldap v2.0.7.
> 
> so i'm hoping this is resolvable, thanks for your time. rf
> 
> 2001/01/18 11:14:59| helperOpenServers: Starting 10 'ldap_auth' processes
> ld.so.1: (ldap_auth): fatal: libldap.so.2: open failed: No such file or
> directory
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Jan 19 2001 - 02:00:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:30 MST