LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

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


Hi:

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?

Thanks

Mark

P.S. This is Redhat 8 running on i386 platform.
 
Old 09-15-2003, 12:15 PM   #2
MacKtheHacK
Member
 
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
mrodrigo
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?

Thanks

Mark
 
  


Reply



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
libgd.so.4 versus libgd.so.2 brucehohl Linux - Software 3 11-13-2003 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:33 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
Open Source Consulting | Domain Registration