LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-18-2005, 04:38 AM   #1
youngie
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Slackware Can't login GLIBC_2.3.4 not found (required by,,,,,)


I just upgraded my slackware 9.1 installation using slapt-get. On a reboot, I login as root, it tells me
-bash: /lib/libc.so.6: version 'GLIBC_2.3.4' not found (required by -bash). It seems I'm hosed. I can boot from CD but it makes no difference, I'm not sure how I can login to try and fix this problem as it seems everything needs GLIBC_2.3.4

Cheers

Youngie....
 
Old 12-19-2005, 04:29 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
What you want is a chroot environment -- that means you start with another from environment, for example from your Slackware CD and then "chroot" to your Slack that's installed on your harddrive.

To do this boot from your slackware CD. When you are at the console and you get the message about cfdisk and setup, stop. Now you have to make some directories in the tree. Let's suppose you do this stuff in the /mnt dir. What partitions do you have? If you have a seperate /var directory on your harddrive install you have to mount that, too.
I hope there are no errors in my code, but that's the way I did it.

Code:
mkdir /mnt/slackroot
# do this step for /var if you have seperated it on an own partition

# now mount it and chroot
# insert your root partition and partition type instead of /dev/hda5
# and reiserfs
mount -t reiserfs /dev/hda5 /mnt/slackroot  
chroot /mnt/slackroot

# install the package glibc or others as well
# if Slackware 10.1 and if your cdrom is mounted at /mnt/cdrom
installpkg /mnt/cdrom/slackware/l/glibc-2.3.4-i486-1.tgz  

# now let's switch back to cdrom, else you cannot shutdown properly
mkdir /mnt/cdrom

# shutdown -- be sure to remove CD-ROM before booting again
shutdown -h now
Edit: Rewrapped lines | added .tgz ending to package name | fixed typo

Last edited by titopoquito; 12-19-2005 at 05:22 AM.
 
Old 12-19-2005, 05:12 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by titopoquito
Code:
mnt -t reiserfs /dev/hda5 /mnt/slackroot  
chroot /mnt/slackroot
It should be "mount" .
 
Old 12-19-2005, 05:23 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Quote:
Originally Posted by Nylex
It should be "mount" .
Thank you, I changed it in my post in case anyone wants to copy/paste it. These damn typos
 
  


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
version GLIBC_2.3 not found error when cross compiled executable is run on targert sateeshgalla Programming 3 05-14-2008 11:42 AM
/lib/libpthread.so.): version 'GLIBC_2.3.2' not found solutionseeker Linux - Newbie 21 01-29-2005 10:02 PM
GlibC_2.3 not found message when .configure shazam75 Linux - Software 0 10-15-2004 04:33 AM
xauth: /lib/i686/libc.so.6: version 'GLIBC_2.3.2' not found yigald Linux - Newbie 0 02-21-2004 12:52 AM
version 'GLIBC_2.3' not found BadGuy Linux - Software 2 02-24-2003 08:50 AM


All times are GMT -5. The time now is 11:37 AM.

Main Menu
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