LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 04-17-2007, 06:06 AM   #1
Ofers
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
glibc.so.6 issue on RH Enterprise Linux 4 :(


Hi,
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,
Ofer
 
Old 04-17-2007, 11:31 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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
/lib/libc.so.6
/lib/tls/i486/libc.so.6
/lib/tls/i586/libc.so.6
/lib/tls/i686/libc.so.6

$ 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
/lib/i686/libc.so.6
/lib/libc.so.6
/lib/tls/libc.so.6

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.
 
Old 04-18-2007, 06:15 AM   #3
Ofers
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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)

Thanks,
Ofer
 
Old 04-18-2007, 07:00 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
troubleshooting red hat linux enterprise 4 ES (drive issue?) palmoswince Linux - Newbie 3 10-18-2005 01:58 AM


All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration