From owner-freebsd-questions Thu Nov 28 1:33:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28AFE37B401 for ; Thu, 28 Nov 2002 01:33:12 -0800 (PST) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9A5743ED1 for ; Thu, 28 Nov 2002 01:33:00 -0800 (PST) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip.stjohn.ac.th ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with ESMTP id CAA05244 for ; Thu, 28 Nov 2002 02:30:02 -0700 (GMT) Message-Id: <5.2.0.9.0.20021128162110.00a225a0@127.0.0.1> X-Sender: stjohn.stjohn.ac.th:mcrogerm@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 28 Nov 2002 16:31:06 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: What does portsclean *mean*? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message