Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-28-2005, 06:08 PM   #1
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.

Old 03-02-2005, 04:08 PM   #2
Registered: Oct 2003
Location: The Forest
Distribution: Ubuntu, LFS, DSL
Posts: 127

Rep: Reputation: 16

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, 06:16 PM   #3
LQ Newbie
Registered: Nov 2004
Distribution: Fedora Core 3
Posts: 4

Original Poster
Rep: Reputation: 0

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 ....


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

All times are GMT -5. The time now is 03:44 AM.

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