Re: [squid-users] RHELv6 install squid 3.2

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 22 Nov 2012 14:32:19 +1300

On 22.11.2012 12:59, Михаил wrote:
> Hello.
> I donwloaded squid packages for Red Hat Enterprise Linux 6 from link:
> http://www1.ngtech.co.il/rpm/squid-3.2.3-1.fc17.x86_64.rpm
>
> But i can't install it:
> # rpm -Uvh squid-3.2.3-1.fc17.x86_64.rpm
> error: Failed dependencies:
>         /bin/perl is needed by squid-7:3.2.3-1.fc17.x86_64

Compare that path to the one you found on RHEL ...

>         libc.so.6(GLIBC_2.14)(64bit) is needed by
> squid-7:3.2.3-1.fc17.x86_64

glibc library (AKA. "libstdc") version 2.1.4 is required.

>         libdb-4.8.so()(64bit) is needed by
> squid-7:3.2.3-1.fc17.x86_64

libdb version >= *4.8* is required. You only have 4.7 installed.

>         libecap.so.2()(64bit) is needed by
> squid-7:3.2.3-1.fc17.x86_64

libecap version >= 0.2.0 is required.

>         libnetfilter_conntrack.so.3()(64bit) is needed by
> squid-7:3.2.3-1.fc17.x86_64

Does that library exist on your system? it is unfortunately well known
for being absent on most distributions despite many years of it bundling
with iptables.

>         libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by
> squid-7:3.2.3-1.fc17.x86_64

glibc++ library (AKA. "libstdc++") version 3.4.15 is required.

>         systemd-units is needed by squid-7:3.2.3-1.fc17.x86_64

??

The good news is that most of these are libraries, so they can be
installed alongside your existing ones, but may have a chain reaction of
installation work from dependencies of their own.

> # locate /bin/perl
> /usr/bin/perl
> /usr/bin/perl5.10.1
> /usr/bin/perlbug
> /usr/bin/perldoc
> /usr/bin/perlivp
> /usr/bin/perlthanks
> # locate libc.so
> /lib64/libc.so.6
> /usr/lib64/libc.so
> # locate libdb-4
> /lib64/libdb-4.7.so
> /usr/lib64/libdb-4.7.so
> # locate libstdc++.s
> /usr/lib/gcc/x86_64-redhat-linux/4.4.4/libstdc++.so
> /usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libstdc++.so
> /usr/lib64/libstdc++.so.6
> /usr/lib64/libstdc++.so.6.0.13
> /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.13-gdb.py
> /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.13-gdb.pyc
> /usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.13-gdb.pyo
> /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.py
> /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.pyc
> /usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.pyo
>
> I realty appreciate if you can help me to clear them out.

Your problem is pretty clear. The software installed with RHEL6 is
older than the versions needed by the Squid package - which is natural
for a package built for use on a Fedora version more recent than the
RHEL version.

All you have to do is locate

Amos
Received on Thu Nov 22 2012 - 01:32:28 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 22 2012 - 12:00:04 MST