tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
obsoleting shlibs - what's the plan
I just updated to 4.99.58 from 4.99.24 (!, long story, disk too small to
build). Mostly things are working fine.
I updated using BUILD-NetBSD from etcmanage, and then ran 'postinstall
fix obsolete'. It deleted libraries that I think it shouldn't have:
Removed obsolete file /usr/lib/libroken.so.12.3
Removed obsolete link /usr/lib/libroken.so.12
Removed obsolete file /usr/lib/libkrb5.so.20.1
Removed obsolete link /usr/lib/libkrb5.so.20
Removed obsolete file /usr/lib/libkafs.so.7.0
Removed obsolete link /usr/lib/libkafs.so.7
Removed obsolete file /usr/lib/libkadm5srv.so.9.0
Removed obsolete link /usr/lib/libkadm5srv.so.9
Removed obsolete file /usr/lib/libkadm5clnt.so.8.0
Removed obsolete link /usr/lib/libkadm5clnt.so.8
Removed obsolete file /usr/lib/libhdb.so.9.0
Removed obsolete link /usr/lib/libhdb.so.9
Removed obsolete file /usr/lib/libgssapi.so.5.0
Removed obsolete link /usr/lib/libgssapi.so.5
Removed obsolete file /usr/lib/libcom_err.so.4.1
Removed obsolete link /usr/lib/libcom_err.so.4
Removed obsolete file /usr/lib/libasn1.so.6.1
Removed obsolete link /usr/lib/libasn1.so.6
These are previous major versions of kerberos libraries. My system has
even older versions (picking one):
-r--r--r-- 1 root wheel 514864 Mar 24 21:36 libkrb5.a
lrwxr-xr-x 1 root wheel 15 Mar 24 21:39 libkrb5.so -> libkrb5.so.21.0
lrwxr-xr-x 1 root wheel 15 Dec 2 2003 libkrb5.so.18 -> libkrb5.so.18.0
-r--r--r-- 1 root wheel 237892 Dec 2 2003 libkrb5.so.18.0
lrwxr-xr-x 1 root wheel 15 Nov 3 2005 libkrb5.so.19 -> libkrb5.so.19.1
-r--r--r-- 1 root wheel 247545 Oct 25 2005 libkrb5.so.19.1
lrwxr-xr-x 1 root wheel 15 Mar 24 21:39 libkrb5.so.21 -> libkrb5.so.21.0
-r--r--r-- 1 root wheel 402663 Mar 24 21:36 libkrb5.so.21.0
-r--r--r-- 1 root wheel 544664 Mar 24 21:36 libkrb5_p.a
-r--r--r-- 1 root wheel 564748 Mar 24 21:36 libkrb5_pic.a
This removal broke some of my programs:
> ldd /usr/pkg/sbin/cupsd
/usr/pkg/sbin/cupsd:
-lgssapi.5 => not found
-lkrb5.20 => not found
-lasn1.6 => not found
-ldes.7 => /usr/lib/libdes.so.7
-lroken.12 => not found
-lcom_err.4 => not found
-lcrypt.0 => /usr/lib/libcrypt.so.0
-lcrypto.3 => /usr/lib/libcrypto.so.3
-lssl.4 => /usr/lib/libssl.so.4
-lpthread.0 => /usr/lib/libpthread.so.0
-lm.0 => /usr/lib/libm387.so.0
-lm.0 => /usr/lib/libm.so.0
-lz.1 => /usr/lib/libz.so.1
-lcups.2 => /usr/pkg/lib/libcups.so.2
-lresolv.1 => /usr/lib/libresolv.so.1
-lslp.1 => /usr/pkg/lib/libslp.so.1
-ldns_sd => /usr/pkg/lib/libdns_sd.so
-lgssapi.5 => not found
-lkrb5.20 => not found
-lasn1.6 => not found
-lroken.12 => not found
-lcom_err.4 => not found
-lc.12 => /usr/lib/libc.so.12
So, I think these shouldn't have been marked obsolete, and that in
general that we should not obsolete previous major shlibs, just minor
ones (e.g., if .so.3.1 arrives we can remove .so.3.0, but not .so.2.1).
Home |
Main Index |
Thread Index |
Old Index