Re: [squid-users] Squid complaining of not able to find libssl.so.

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Sun, 7 Feb 2010 17:16:12 +0100

On 30.01.10 11:51, Rajesh Nair wrote:
> I am facing this wierd in starting squid
>
> I have the squid compiled with ssl enabled

Os/distribution ?

> The compilation all works fine but when I execute the squid it
> complains of not able to find the libssl.so.0.9.8.

> This is despite the fact that the mentioned library is there on the
> system with the dir properly appended to LD_LIBRARY_PATH

I don't think using this variable is a good idea...

> $ echo $LD_LIBRARY_PATH
> /lib:/lib64:/usr/lib:/usr/lib64:/usr/local/lib:/usr/local/ssl/lib

I'd prefer /lib64 before /lib, but not in $LD_LIBRARY_PATH.
e.g. solaris uses "-r" option to specify where to search for libraries at
runtime.

> $ locate libssl.so.0.9.8
> /home/rnair/squid_files/openssl-0.9.8b/libssl.so.0.9.8
> /lib/libssl.so.0.9.8
> /lib/libssl.so.0.9.8e
> /lib64/libssl.so.0.9.8e
> /usr/local/ssl/lib/libssl.so.0.9.8

do they all really exist?
why isn't there /lib64/libssl.so.0.9.8 ?

what does "ldd /usr/local/squid/sbin/squid" say?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901
Received on Sun Feb 07 2010 - 16:16:17 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 07 2010 - 12:00:03 MST