Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2004 09:21:12 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        spam maps <spamrefuse@yahoo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 5.3: redundant libraries in /usr/lib after cvsup-ing and build world ?
Message-ID:  <20041004062112.GC47338@ip.net.ua>
In-Reply-To: <20041004052930.72382.qmail@web54003.mail.yahoo.com>
References:  <20041004052930.72382.qmail@web54003.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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