LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-07-2007, 07:30 PM   #1
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Red face 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

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

Morals:

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)
 
Old 02-08-2007, 10:13 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,750

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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.
 
Old 02-08-2007, 09:27 PM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Oh, ok then ... really I have no need for stripping things anyway ... especially when it can have such side-effects.
 
  


Reply


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
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy defa0009 Linux - General 5 03-02-2014 07:57 AM
Couldn't open RGB_DB ' /usr/X11R6/lib/X11/rgb lilohatea Debian 2 01-30-2006 07:57 PM
ld not finding libraries in /usr/X11R6/lib gustavderdrache Linux - Software 2 01-16-2006 04:34 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
Installation failed: file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-glc22-4. witchy2k1 Linux - Newbie 13 01-25-2004 05:26 AM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration