I made a couple of changes to my linux how do I undo them?

gwarbot

Senior member
Nov 18, 2004
508
0
0
ln -s /usr/local/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5
ln -s /usr/local/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so.1

How do I undo those?
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
You can simply remove the symbolic links you created. Then re-run ldconfig (ldconfig is used to keep track of library files for various applications.)

Did they replace something that was there previously?

If they are just new things you created and you didn't delete a file or anything like that, then just remove the symbolic links you made.


just do:
ls -l
to view files and it's obvious which ones are symbolic links.
 

NewBlackDak

Senior member
Sep 16, 2003
530
0
0
unlink /usr/lib/libstdc++.so.5; unlink /usr/lib/libgcc_s.so.1; ldconfig

or

rm /usr/lib/libstdc++.so.5 /usr/lib/libgcc_s.so.1; ldconfig