Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Missing libld_elf_i386

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 3 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 6
Missing libld_elf_i386

Hi guys,
This is all on Ubuntu 9.10. I am trying to run gcc and when it invokes ld I get the following message:
Code:
gcc main.c
ld: unknown option `-z relro'
ld: cannot load ld backend library 'libld_elf_i386.so': libld_elf_i386.so: cannot open shared object file: No such file or directory
collect2: ld returned 1 exit status
Now, its not a complete mystery. I accidentally deleted some libraries from /usr/lib/libelf* (lets not discuss how that happened ) and now I can't figure out what package to reinstall to fix this. I have done:

sudo apt-get remove <package>
followed by
sudo apt-get install <package>
on the following packages:

binutils
coreutils
elfutils
build-essential

but it doesn't fix it. Any pointers how I can fix this?
Thanks
Stephen
sroberts82 is offline  


Reply With Quote
Old 3 Weeks Ago   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,105
I would try listing all files with something like elf. Here is a link to Debian commands to should help you find what you need to re-install in order to get things working again.
APT HOWTO - Getting information about packages.
So, something like:
Code:
apt-cache search elf
apt-cache search libelf
Good Luck.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:07 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2