From owner-freebsd-current@FreeBSD.ORG Mon Oct 4 06:21:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1585216A4CE for ; Mon, 4 Oct 2004 06:21:12 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46FDE43D1D for ; Mon, 4 Oct 2004 06:21:11 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (oak.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i946LAVF053344; Mon, 4 Oct 2004 09:21:10 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 10972-10; Mon, 4 Oct 2004 09:21:09 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i946L9Y0053341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Oct 2004 09:21:09 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i946LC08047482; Mon, 4 Oct 2004 09:21:12 +0300 (EEST) (envelope-from ru) Date: Mon, 4 Oct 2004 09:21:12 +0300 From: Ruslan Ermilov To: spam maps Message-ID: <20041004062112.GC47338@ip.net.ua> References: <20041004052930.72382.qmail@web54003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E13BgyNx05feLLmH" Content-Disposition: inline In-Reply-To: <20041004052930.72382.qmail@web54003.mail.yahoo.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-current@freebsd.org Subject: Re: 5.3: redundant libraries in /usr/lib after cvsup-ing and build world ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 06:21:12 -0000 --E13BgyNx05feLLmH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there, On Sun, Oct 03, 2004 at 10:29:30PM -0700, spam maps wrote: > In /usr/lib I have libraries with dates of my latest > world build, and with older dates. I consider the > libraries with old dates to be redundant. > A typical example is, when I do >=20 > # ll /usr/lib/*libssh* > 289008 Oct 3 17:28 /usr/lib/libssh.a > 11 Oct 3 17:28 /usr/lib/libssh.so -> libssh.so.2 > 194148 Oct 3 17:28 /usr/lib/libssh.so.2 > 280822 Feb 24 2004 /usr/lib/libssh_p.a >=20 > "Oct 3" is when I did my last build world. > Is /usr/lib/libssh_p.a (Feb. 24) indeed redundant? > Can I remove it, without breaking the system? >=20 Yes. It's a profiled library that was installed during the initial install (from CD-ROM or FTP?), and now apparently you have NOPROFILE set in your /etc/make.conf. > There are many more seemingly redundant libraries > with lib*_p.a : >=20 > libalias_p.a, libatm_p.a, libbluetooth_p.a, [20 lines of *_p.a libraries removed] > libgssapi_p.a, libcrypto_p.a, libssl_p.a, libssh_p.a >=20 > ----------------------- >=20 > In addition, I have following libraries with > old dates: >=20 > /usr/lib/libisc.a > /usr/lib/libisc.so -> libisc.so.1 > /usr/lib/libisc.so.1 >=20 > /usr/lib/libkse.a > /usr/lib/libkse.so -> libkse.so.1 > /usr/lib/libkse.so.1 >=20 > /lib/geom/geom_concat.so.1 > /lib/geom/geom_label.so.1 > /lib/geom/geom_nop.so.1 > /lib/geom/geom_stripe.so.1 >=20 > /libexec/ld-elf.so.1 >=20 > Can I remove all these as well? >=20 Yes for the above list, but generally one should be careful with removing the .a libraries -- they are installed with -C. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --E13BgyNx05feLLmH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBYOvYqRfpzJluFF4RAsVGAJ4i6tZjKlLYNJ1YnPlwvRO9qjrxsQCeOpMr zzc214FaFVzUc/f8LE/N4Z4= =Kl4D -----END PGP SIGNATURE----- --E13BgyNx05feLLmH--