From owner-freebsd-questions Sun Oct 12 00:24:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA04581 for questions-outgoing; Sun, 12 Oct 1997 00:24:20 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from DonaldBurr.dyn.ml.org (dburr@ppp12143.la.inreach.net [206.18.115.143]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA04571 for ; Sun, 12 Oct 1997 00:24:13 -0700 (PDT) (envelope-from dburr@DonaldBurr.dyn.ml.org) Received: (from dburr@localhost) by DonaldBurr.dyn.ml.org (8.8.5/8.8.5) id AAA01125 for freebsd-questions@freebsd.org; Sun, 12 Oct 1997 00:24:01 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.1 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Date: Sun, 12 Oct 1997 00:18:56 -0700 (PDT) Organization: Starfleet Command From: Donald Burr To: FreeBSD Questions Subject: stripping shared libs, is it bad? Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -----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 . Thanks! - --- Donald Burr - 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-----