LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2009, 12:20 PM   #1
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Rep: Reputation: 31
Broke dynamic linker! /lib/libc.so.6 symbol _dl_out_of_memory GLIBC


I installed an RPM which I though was glibc2.4 but it was actually a patch for glibc2.4 and now the system hangs at runlevel 5. I'm hoping someone can help me out to resolve this. The distro is SUSE 9 SP4 and it's a remote server that we can only access through KVM. Here is a screen shot of the problem during boot up...

http://www.mtprogramming.com/screenshot.jpg

Some suggestions from the internet are to replace the /lib and /usr/lib directories with the same directories from another machine running SUSE 9 SP4? Is this a good idea? Or is there a simpler way? I can get to the machine and reboot it manually but if it hangs at runlevel 5 how would I get around this so that I can login and fix the problem?

Your help is greatly appreciated!
 
Old 03-20-2009, 08:38 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
If you can't reboot, there is only one way : switch off
the computer.
Extract the 'glibc' package, you want to use, (glibc-2.3.2 ?)
on another machine : 'rpm2cpio <package.rpm> | cpio -idmv'
> > in a new empty directory.
And now you have the 4 directories etc, lib, sbin, usr,
containing the glibc files.
'su' .. # 'chmod -R 0755 *' .. 'chown -R root:root *'
Next : # 'tar -cf glibc-2.x.x.tar etc lib sbin usr' ..
..# 'gzip glibc-2.x.x.tar' and copy the result to a usb - key.

Boot into a live cd Linux on the computer to be "repaired",
cp the glibc-2.x.x.tar.gz package to the "live Linux" ...
.. 'cd /media/<Suse9-location> .. 'su' ..
'tar xvf <path-to-glibc-package>/glibc-2.x.x.tar.gz' .

And then ... just hope, that the Suse 9 will be usable again.
......

Last edited by knudfl; 03-20-2009 at 08:53 AM.
 
Old 03-20-2009, 08:48 AM   #3
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Original Poster
Rep: Reputation: 31
I tried to boot up in fail safe and still no luck...

Last edited by defa0009; 03-20-2009 at 08:52 AM.
 
Old 03-20-2009, 08:55 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please read post # 2 again, I changed a few details.

And you will not be able to boot into a system with
a faulty 'glibc'. Failsafe or no failsafe.

.....

Last edited by knudfl; 03-20-2009 at 08:57 AM.
 
Old 03-20-2009, 08:57 AM   #5
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Original Poster
Rep: Reputation: 31
OK thanks alot... I'll try that.
 
  


Reply



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
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM
./firefox-bin: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_s cb8100 Slackware 3 10-05-2006 10:55 AM
Linux dynamic linker thedevilsjester Programming 4 09-20-2005 07:11 PM
can't load dynamic linker '/lib/ld.so qanopus Linux - General 4 01-06-2003 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration