LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-28-2005, 07:08 PM   #1
andrewjg
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Whoops with prelink


Had a bit of a disaster with prelink this morning when following instructions to get wine working in Fedora Core 2 (but I think the solution will not be fedora-specific). Basically I did:

prelink -ua
followed by
prelink -am --no-exec-shield

but during the second run of prelink, managed to hit Ctrl-C by mistake. That caused big problems. Trying to run anything (e.g. ls) resulted in errors such as "unable to load shared library: invalid ELF header". When I try to reboot, I get a kernel panic with similar errors, and "tried to kill init". I rebooted with the rescue CD, but was unable to do anything other than back up data. As soon as I chroot to /mnt/sysimage, everything stops working with invalid ELF header errors.

I'm hoping someone can suggest how I salvage the situation without reinstalling I already tried running 'prelink -ua' to undo changes, but get complaints about libraries not being in ELF format.

Thanks...
 
Old 03-02-2005, 05:08 PM   #2
Engmar
Member
 
Registered: Oct 2003
Location: The Forest
Distribution: Ubuntu, LFS, DSL
Posts: 127

Rep: Reputation: 16
Unhappy

You could just try running /etc/cron.daily/prelink, but I have a sinking feeling that you may have to do a re-install.
 
Old 03-02-2005, 07:16 PM   #3
andrewjg
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0
Re:

Thanks, decided to upgrade to FC3 yesterday afternoon. It seemed a question of waste the afternoon doing that, or waste the next week trying to get FC2 back ....
 
  


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
Whoops! acey99 Linux - General 5 11-13-2005 03:55 PM
prelink amnesty_puppy Debian 4 05-11-2005 01:57 PM
whoops! mistake using parted dee999 Linux - Software 3 05-08-2004 08:22 PM
Whoops! megaspaz General 3 10-31-2003 10:58 AM
Whoops - yanc mistake and can't load X asktoby Linux - Software 11 07-31-2003 01:49 PM

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

All times are GMT -5. The time now is 06:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration