Old libc and Red Hat 7.2
Gregory K. Ruiz-Ade
gkade at bigbrother.net
Thu Apr 29 13:56:44 PDT 2004
On Thursday 29 April 2004 11:42 am, John Oliver wrote:
> More weirdness... I just tried to install the package myself to get
> first-hand knowledge of what's going on. It fails looking for
> libstdc++.so.5, but compat-libstdc++ *is* installed. There has to be
> some other package somewhere for compatibility.
On a system where this _is_ working:
1) verify which library files your application depends on (via ldd or rpm)
2) verify which packages provide those files (rpm -qf <path/to/file>)
3) install those packages on the non-everything rh7.2 installation.
A very simple example, then... What packages to I need to install if I want
to install bash? This is the ldd way of finding out:
gkade at gopher(pts/2):~ 21 > which bash
gkade at gopher(pts/2):~ 22 > ldd /bin/bash
libtermcap.so.2 => /lib/libtermcap.so.2 (0x006ca000)
libdl.so.2 => /lib/libdl.so.2 (0x00452000)
libc.so.6 => /lib/tls/libc.so.6 (0x002f3000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x002db000)
gkade at gopher(pts/2):~ 23 > rpm -qf /lib/libc.so.6
A slightly more complex example. What packages does gzip require?
gkade at gopher(pts/2):~ 45 > rpm -q --requires gzip
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
gkade at gopher(pts/2):~ 46 > rpm -q --whatprovides 'libc.so.6(GLIBC_2.3)'
It'll take a little work, but you should end up with a complete list of
packages that your application requires.
Gregory K. Ruiz-Ade <gkade at bigbrother.net>
OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Url : http://www.kernel-panic.org/pipermail/kplug-list/attachments/20040429/3a2d8765/attachment-0001.pgp
More information about the KPLUG-List