-   Slackware (
-   -   oops, I stripped /usr/lib and /usr/X11R6/lib ! (

H_TeXMeX_H 02-07-2007 08:30 PM

oops, I stripped /usr/lib and /usr/X11R6/lib !
I accidentally ran strip on all the files in /usr/lib and (via symlink) many in /usr/X11R6/lib ... hehe :newbie:

I don't think it got around to stripping all the files in /usr/X11R6/lib cuz xserver crashed before then followed by a system lockup :D Damn !

Anyway, it's ok, I just reinstalled everything in the x directory of the slackware disk and it seems to work ok ... except that other stuff seems to be acting strangely ... weird error messages and stuff. Guess it's time for a reinstall ? I was planning one anyway cuz I messed up some other stuff earlier (with the nvidia driver).

I'd just like to ask ... why did strip cause the crash ? Was it that xserver was running at the time the command was executed ?


1) Don't run strip on things that are running and in general on things in /usr/lib and especially /usr/X11R6/lib (even if by accident ... I was actually only trying to strip one file in there, before I realized I was stripping all of them xserver went down :()

2) Don't symlink from /usr/lib to /usr/X11R6/lib. I did it to install virtualbox, but forgot to undo it (besides, there was a better way ... it came a bit late tho)

gnashley 02-08-2007 11:13 AM

Many programs need some of the symbols in the objects which are stripped out by the full strip command. you should study up on the use of strip anyway for the differences between -strip, -strip-unneeded -strip-debug
Usually libs should never be fully stripped -usually strip-unneeded is okay.

H_TeXMeX_H 02-08-2007 10:27 PM

Oh, ok then ... really I have no need for stripping things anyway ... especially when it can have such side-effects.

All times are GMT -5. The time now is 11:52 PM.