glibc.so.6 issue on RH Enterprise Linux 4 :(
I'm trying to install MatlabMCR on a redhat EL 4 machine to deploy a matlab compiled app.
problem is I get an error saying glibc.so.6 does not have the GLIBC_2.4 definition in it.
providing my own glibc.so.6 gives a strange error regarding ld-linux.so.2 - it says:
"relocation error libc.so.6: symbol _dl_tls_get_addr_soft, version GLIBC_PRIVATE not defined in file ld-linux.so.2"
so I figured maybe I should find a better way to update the libc.so.6 rather than just putting a new one in my deployment path.
The main problem is - the machine is not connected to the internet so I can't use up2date. Any RPMs / Updates I need to do I need to download off the internet and provide the files myself.
Can anyone help me with this please? are there RPMs to update the required libraries on RH EL 4?
Thanks in advance,
The libc.so.6 file is provided by the glibc rpm package, for examples;
$ rpm -qlip glibc-2.3.4-2.25.i386.rpm | grep libc.so.6
warning: glibc-2.3.4-2.25.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
$ rpm -qlip glibc-2.3.4-2.25.i686.rpm | grep libc.so.6
warning: glibc-2.3.4-2.25.i686.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
The glibc packages should be installed by default already check;
rpm -qa 'glibc*'
If yes the you need to fix the system. Please contact Red Hat support for this in either case.
Only one should be installed, use the output from the typed command for help in choosing which one to install; uname -a
If you get i686 across the board hen install the i686 version if not then install the i386 version. Warning installing the wrong version (i686 instead of i386) will kill your system.
the rpm packages are on the RHEL4 installation media or available from RHN (sorry Red Hat does not supply built installable rpm packages any other way). One can copy the binary rpm files from another like system if need be.
Thanks for the quick reply Lenard,
Is it possible to download a 'general linux' RPM package (or say - one for Fedora Core) and install on the RHEL4 machine? I don't have an RHN subscription and the RH cds used for installation contains an older version of glibc (2.3 when I really need 2.4)
Much better to download and install packages from CentOS; http://www.centos.org/
If fact the wiki has instructions on to use yum and the repos on RHEL. Also CentOS5 is available, it is 100% binary compatible with RHEL5 ES/AS.
Replacing the glib and associated packages is tricky, one false step and the system is junk. Please be extremely careful.
|All times are GMT -5. The time now is 10:49 AM.|