Ausgabe von portsclean -Ln

From: Karsten Rothemund <photor(at)photor.de>
Date: Thu, 20 Dec 2007 21:41:29 +0100

Hallo Liste,

ich hab mal portsclean -nL angeworfen und bekomme einiges an Ausgabe.
Einiges verstehe ich anderes nicht und frage mich, ob und was ich damit
machen soll:

** /usr/X11R6/lib/libf2c.so.2 is shadowed by /usr/lib/compat/libf2c.so.2
** /usr/X11R6/lib/libncurses.so.5 is shadowed by /lib/libncurses.so.5

Einige Zeilen nach diesem Muster ergeben sich durch den Link von
/usr/X11R6 auf /usr/local beim Umstieg auf Xorg 7

** /usr/local/lib/libtasn1.so.3 is shadowed by /usr/X11R6/lib/libtasn1.so.3
        /usr/X11R6/lib/libtasn1.so.3 <- libtasn1-1.1
        /usr/local/lib/libtasn1.so.3 <- libtasn1-1.1
 --> Two packages install the same library in different directories!

Davon gibt es einige. Ich denke, das ist kein Problem, weil beides die
selbe Datei ist.

Aber was ist hiermit? Es scheint 2 verschiedene Libs mit dem gleichen
Name zu geben:

** /usr/local/lib/libf2c.so.2 is shadowed by /usr/lib/compat/libf2c.so.2
        /usr/lib/compat/libf2c.so.2 <- ?
        /usr/local/lib/libf2c.so.2 <- f2c-20060810_1
 --> This may be an undesirable situation
Leave /usr/lib/compat/libf2c.so.2 (specify -i to ask on this)

ll /usr/lib/compat/libf2c.so.2
-r--r--r-- 1 root wheel 85933 Nov 5 2004 /usr/lib/compat/libf2c.so.2
ll /usr/local/lib/libf2c.so.2
-r--r--r-- 1 root wheel 98341 Aug 13 18:29 /usr/local/lib/libf2c.so.2

Auch davon gibt es mehrere; sogar mit Libs aus /lib (also Libs, die mit
dem Basissystem kommen).

** /usr/local/lib/libncurses.so.5 is shadowed by /lib/libncurses.so.5
        /lib/libncurses.so.5 <- ?
        /usr/local/lib/libncurses.so.5 <- ncurses-5.6_1
 --> This may be an undesirable situation
Leave /lib/libncurses.so.5 (specify -i to ask on this)

ll /lib/libncurses.so.5
-r--r--r-- 1 root wheel 259916 Sep 24 2005 /lib/libncurses.so.5
ll /usr/local/lib/libncurses.so.5
lrwxr-xr-x 1 root wheel 17 Sep 19 00:36 /usr/local/lib/libncurses.so.5 -> libncurses.so.5.6
ll /usr/local/lib/libncurses.so.5.6
-rwxr-xr-x 1 root wheel 123279 Sep 19 00:36 /usr/local/lib/libncurses.so.5.6

Es gibt noch weitere Eintraege, die ich nicht einordnen kann, die aber
wohl von den verschiedenen COMPAT-Ports installieret wurden (Linux,
compat5 etc):

** /usr/local/lib/compat/libz.so.2 is shadowed by /lib/libz.so.2
        /lib/libz.so.2 <- ?
        /usr/local/lib/compat/libz.so.2 <- compat5x-i386-5.4.0.8_8
 --> This may be an undesirable situation
Leave /lib/libz.so.2 (specify -i to ask on this)

** /usr/local/lib/gcc-4.2.3/libobjc.so.2 is shadowed by /usr/lib/libobjc.so.2
        /usr/lib/libobjc.so.2 <- ?
        /usr/local/lib/gcc-4.2.3/libobjc.so.2 <- gcc-4.2.3_20071024
 --> This may be an undesirable situation
Leave /usr/lib/libobjc.so.2 (specify -i to ask on this)

/compat/linux ist sicher so OK:

** /compat/linux/lib/libcom_err.so.2 is shadowed by /usr/lib/libcom_err.so.2
** /compat/linux/lib/libss.so.2 is shadowed by /usr/lib/compat/libss.so.2
** /compat/linux/lib/libc.so.6 is shadowed by /lib/libc.so.6
** /compat/linux/lib/libthread_db.so.1 is shadowed by /usr/lib/libthread_db.so.1
** /compat/linux/lib/libgcc_s.so.1 is shadowed by /usr/local/lib/gcc-4.2.3/libgcc_s.so.1
** /compat/linux/lib/libtermcap.so.2 is shadowed by /usr/lib/compat/libtermcap.so.2
** /compat/linux/lib/libpcre.so.0 is shadowed by /usr/X11R6/lib/libpcre.so.0

Was soll man mit den doppelten Libs machen? Kann ich Ports deinstallieren,
die Libs installieren, die schon vom Basissystem bereit gestellt werden
(libncurses.so.5)?

Danke, fuer die Antworten,

Karsten

-- 
Karsten Rothemund <photor(at)photor.de>      /"\
PGP-Key:     0x094AE55F                   \ /
Fingerprint: C0BC 9AF3 A3E4 E55F 2AA3      \  ASCII Ribbon Campaign
             715E 62A3 4C0A 094A E55F     / \ Against HTML Mail and News

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 20 Dec 2007 - 21:41:30 CET

search this site