5.3: redundant libraries in /usr/lib after cvsup-ing and build
world ?
Ruslan Ermilov
ru at freebsd.org
Sun Oct 3 23:21:12 PDT 2004
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
>
> # 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
>
> "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?
>
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 :
>
> 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
>
> -----------------------
>
> In addition, I have following libraries with
> old dates:
>
> /usr/lib/libisc.a
> /usr/lib/libisc.so -> libisc.so.1
> /usr/lib/libisc.so.1
>
> /usr/lib/libkse.a
> /usr/lib/libkse.so -> libkse.so.1
> /usr/lib/libkse.so.1
>
> /lib/geom/geom_concat.so.1
> /lib/geom/geom_label.so.1
> /lib/geom/geom_nop.so.1
> /lib/geom/geom_stripe.so.1
>
> /libexec/ld-elf.so.1
>
> Can I remove all these as well?
>
Yes for the above list, but generally one should be careful
with removing the .a libraries -- they are installed with -C.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041004/4cd377ca/attachment.bin
More information about the freebsd-current
mailing list