Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 1997 00:18:56 -0700 (PDT)
From:      Donald Burr <dburr@POBoxes.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   stripping shared libs, is it bad?
Message-ID:  <XFMail.971012002359.dburr@POBoxes.com>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Last night I started running out of space on /usr.  In desperation, I ran:

cd /usr/local ; find . -type f -exec strip {} \;

This ended up saving a lot of space.  Unfortunately, something that it
also did (which didn't hit me until later, MUCH later) is that it also
stripped all of the shared libraries in /usr/local/lib (e.g.
the libxxx.so.x.y files).  This so far didn't seem to affect any software,
even software that is built using those libraries that were stripped still
seems to work OK.  Does anyone know what are the ramifications of running
'strip' on shared libraries?  Is it a Bad Thing to do, i.e. will software
eventually start breaking?  Lastly, should I go through the trouble of
recompiling everything?  (the ports would be the easiest, since I can
search the files in /var/db/pkg to see which ports built which
libraries... but I have a lot of software I DIDN'T compile from a port,
and finding which library was built by which software would be a big pain).

Please respond by email to <dburr@POBoxes.com>.  Thanks!

- ---
Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNEB7DvjpixuAwagxAQEadAP/VIg0ulqTBwXZkhJs6SgRnoXvhmNdp8lK
SNYksY/LOf0PrwTfhxRM9F3gJyIJ9C73JA6bgsMmaCsLJGCT0BLgzeh2qWUsSf9F
Nsef4IJJ3WEGwoJM2H7z6Vz91+qGWOspEoRKDeYcW3I0mVBCW+7d0OT4uVbf4yHA
8+n914bXv2s=
=uRDp
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.971012002359.dburr>