From owner-freebsd-questions@FreeBSD.ORG Mon Jan 7 14:27:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 819AB7A8 for ; Mon, 7 Jan 2013 14:27:29 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 22288D46 for ; Mon, 7 Jan 2013 14:27:28 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TsDfv-0005RX-8v for freebsd-questions@freebsd.org; Mon, 07 Jan 2013 15:27:39 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jan 2013 15:27:39 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Jan 2013 15:27:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Unreferenced Libraries? Date: Mon, 7 Jan 2013 14:27:08 +0000 (UTC) Lines: 34 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 14:27:29 -0000 9.1-RELEASE on amd64. libchk reports the following libraries (among others) as unreferenced: /usr/lib/libBlocksRuntime.so.0 /usr/lib/libform.so.5 /usr/lib/libformw.so.5 /usr/lib/libgpib.so.3 /usr/lib/libgssapi_ntlm.so.10 /usr/lib/libgssapi_spnego.so.10 /usr/lib/libhistory.so.8 /usr/lib/liblwres.so.80 /usr/lib/libmenu.so.5 /usr/lib/libmenuw.so.5 /usr/lib/libmilter.so.5 /usr/lib/libpanelw.so.5 /usr/lib/librpcsec_gss.so.1 /usr/lib/libstdbuf.so.1 /usr/lib/libsupc++.so.1 /usr/lib/libthread_db.so.3 All these are part of base. I note that in each case there is a .so symlink pointing to the relevant library, as is, I believe, accepted best practice. Would I be correct in assuming that the reason libchk is reporting these as unreferenced is that everything which is actually using them is referencing the symlink? Or is libchk clever enough to resolve symlinks, and there is a different reason?