I tried running portsclean after upgrading a lot of my ports recently, and
got this output:
[root@kepler:/usr/ports]# portsclean -DL
Detecting unreferenced distfiles...
no unreferenced distfiles found.
** /usr/lib/compat/libc_r.so.4 is shadowed by /usr/lib/libc_r.so.4
** /usr/lib/compat/libedit.so.3 is shadowed by /usr/lib/libedit.so.3
So, does this mean I should delete the libraries in /usr/lib/compat? Then
continuing:
** You have multiple versions of libgobject-1.3 but 2 of them are not from
packages:
gobject-1.3.13 (/usr/local/lib/libgobject-1.3.so.13) <- ?
gobject-1.3.1 (/usr/local/lib/libgobject-1.3.so.1) <- ?
and the symlink (/usr/local/lib/libgobject-1.3.so) points to:
gobject-1.3.13 (/usr/local/lib/libgobject-1.3.so.13) <- ?
--> Skipping gobject-1.3.13 because it is newer than what the packages
provide
--> Skipping gobject-1.3.1 because it is newer than what the packages provide
I don't understand what I should do here. Should I delete the older
libraries? What does it matter that they are not from packages? I never use
packages, I always download and build the port, which is how I just got
these conflicts! Or are they conflicts? Do they matter? If not, why does
portsclean tell me about them?
** You have multiple versions of libglib-1.3 but 2 of them are not from
packages:
glib-1.3.13 (/usr/local/lib/libglib-1.3.so.13) <- ?
glib-1.3.1 (/usr/local/lib/libglib-1.3.so.1) <- ?
and the symlink (/usr/local/lib/libglib-1.3.so) points to:
glib-1.3.13 (/usr/local/lib/libglib-1.3.so.13) <- ?
--> Skipping glib-1.3.13 because it is newer than what the packages provide
--> Skipping glib-1.3.1 because it is newer than what the packages provide
** You have multiple versions of libgthread-1.3 but 2 of them are not from
packages:
gthread-1.3.13 (/usr/local/lib/libgthread-1.3.so.13) <- ?
gthread-1.3.1 (/usr/local/lib/libgthread-1.3.so.1) <- ?
and the symlink (/usr/local/lib/libgthread-1.3.so) points to:
gthread-1.3.13 (/usr/local/lib/libgthread-1.3.so.13) <- ?
--> Skipping gthread-1.3.13 because it is newer than what the packages
provide
--> Skipping gthread-1.3.1 because it is newer than what the packages provide
** You have multiple versions of libgmodule-1.3 but 2 of them are not from
packages:
gmodule-1.3.13 (/usr/local/lib/libgmodule-1.3.so.13) <- ?
gmodule-1.3.1 (/usr/local/lib/libgmodule-1.3.so.1) <- ?
and the symlink (/usr/local/lib/libgmodule-1.3.so) points to:
gmodule-1.3.13 (/usr/local/lib/libgmodule-1.3.so.13) <- ?
--> Skipping gmodule-1.3.13 because it is newer than what the packages
provide
--> Skipping gmodule-1.3.1 because it is newer than what the packages provide
** Clean out /usr/local/lib/compat/pkg manually on occasions.
Does this mean I should delete the three libraries in
/usr/local/lib/compat/pkg?
** Try using libchk(1) (sysutils/libchk) to find out unreferenced libraries.
One of my gripes about the portupgrade group of tools is that their
documentation doesn't explain their error messages. Any help would be
appreciated.
--
Roger
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message