Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-10-2003, 01:19 PM   #1
LQ Newbie
Registered: Sep 2003
Location: Phoenix
Posts: 4

Rep: Reputation: 0
Accidentally nuked anything libgd* - where to begin the restoration?


I was following a document to load some libraries for a GIS internet mapping app called Mapserver. Part of the doc called for "cleaning up" the libgd libraries. Problem is, I executed a rm -f /usr/lib/libgd* when it should have been libgd.*

Well, I cam caught in the deadly "INIT:ID "X" Respawing too fast" cycle.

Any ideas what I need to restore?



P.S. This is Redhat 8 running on i386 platform.
Old 09-15-2003, 12:15 PM   #2
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
Yeah, you blew away the GD graphics library and the GDBM database library. Looks like your desktop needs them. :-) Boot it to runlevel 3 instead of 5 and use it in text mode. From there you can use rpm to assess the damage. Probably just forcing a re-install of the "gd" and "gdbm" packages would fix things. I'm not sure why your app's docs said to remove the GD libraries, that doesn't sound like a good idea to me.

BTW: you can find out if files are owned by any installed package by using a pipe such as this one:
/bin/ls /usr/lib/libgd* | xargs -n 1 rpm -qf | sort -u
If there's any output, then you know that you shouldn't remove those files because something else depends on them. I know, that won't prevent accidents like yours, but maybe it will help you down the road.
Old 09-15-2003, 12:30 PM   #3
LQ Newbie
Registered: Sep 2003
Location: Phoenix
Posts: 4

Original Poster
Rep: Reputation: 0
Yep, thanks for that. Still learning. Got it back up by forcing the GD back in. Not sure what you meant by using RPM to assess the damage. a Rehat RPM?

That command will come in handy. I need to know about dependencies. Do you know of a good Linux book that tells how to do all the command line stuff to check for dependencies, how to load and manage libraries etc?




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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
data restoration cyberia_2ooo Linux - General 2 09-24-2004 01:00 PM
Upgrading to 2.6.6 seems to have nuked my machine HawkeyeCoug Mandriva 4 05-18-2004 01:46 PM
I just nuked /etc cpeppler Linux - Software 28 03-18-2004 09:27 AM
Windows CE restoration slashrsm Linux - Laptop and Netbook 1 03-10-2004 11:27 PM versus brucehohl Linux - Software 3 11-13-2003 04:07 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration