CentOS 5 squid: error while loading shared libraries
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CentOS 5 squid: error while loading shared libraries
Hi,
I installed squid on the CentOS 5 server. When I try to start squid I am receiving following error:
# service squid start
init_cache_dir /var/spool/squid... Starting squid: [FAILED]
The logs indicate the following:
$ sudo tail /var/log/squid/squid.out
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied
squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied
Although, all the libraries which are shown as missing are present, but still I am seeing the following.
$ ldd /usr/sbin/squid
linux-vdso.so.1 => (0x00007fffb95ff000)
libcrypt.so.1 => not found
libssl.so.6 => not found
libcrypto.so.6 => not found
libdl.so.2 => not found
libz.so.1 => not found
librt.so.1 => not found
libpthread.so.0 => not found
libm.so.6 => not found
libnsl.so.1 => not found
libc.so.6 => not found
I have tried setting the environment variable LD_LIBRARY_PATH
just HOW did you install squid ???
it is in the base repo
Code:
$ yum search squid
Loaded plugins: downloadonly, fastestmirror, priorities
rpmforge 10152/10152
rpmforge-extras 119/119
================================ Matched: squid ================================
squidguard-blacklists.noarch : Regularly updated blacklists for use with
: squidguard
squid.x86_64 : The Squid proxy caching server.
awstats.noarch : Powerful and fullfeatured server logfile analyzer
calamaris.noarch : Squid native log format (NLF) analyzer and report generator
sarg.x86_64 : Squid usage report generator per user/ip/name
squidguard.x86_64 : Combined filter, redirector and access controller plugin for
: squid
tinyproxy.x86_64 : Lightweight, non-caching, optionally anonymizing HTTP proxy
~]$ yum info squid
Loaded plugins: downloadonly, fastestmirror, priorities
Available Packages
Name : squid
Arch : x86_64
Epoch : 7
Version : 2.6.STABLE21
Release : 6.el5
Size : 1.3 M
Repo : base
Summary : The Squid proxy caching server.
License : GPL
Description: Squid is a high-performance proxy caching server for Web clients,
: supporting FTP, gopher, and HTTP data objects. Unlike traditional
: caching software, Squid handles all requests in a single,
: non-blocking, I/O-driven process. Squid keeps meta data and
: especially hot objects cached in RAM, caches DNS lookups, supports
: non-blocking DNS lookups, and implements negative caching of failed
: requests.
:
: Squid consists of a main server program squid, a Domain Name System
: lookup program (dnsserver), a program for retrieving FTP data
: (ftpget), and some management and client tools.
and how did you set up the service ?
for gnome - if installed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.