From owner-freebsd-stable@FreeBSD.ORG Thu Nov 29 03:36:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D967C77A for ; Thu, 29 Nov 2012 03:36:15 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id AB2E68FC08 for ; Thu, 29 Nov 2012 03:36:15 +0000 (UTC) Received: from [10.0.1.4] (pool-98-112-217-228.lsanca.fios.verizon.net [98.112.217.228]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id qAT3a8xT064979 for ; Wed, 28 Nov 2012 19:36:09 -0800 (PST) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Library Problem Date: Wed, 28 Nov 2012 19:36:09 -0800 Message-Id: <4AA267EA-8FC8-42E8-A885-F22F4DC524D0@lafn.org> To: FreeBSD-STABLE Mailing List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 03:36:15 -0000 I have installed 4 systems from the same FreeBSD 9.1-RC3 disk. Three of = them worked just fine. The last one is causing a problem. It will not = look in /usr/local/lib/ for shared libraries. I did the standard = install, moved in some source, compiled it and tried to run it. The = library is there. On the working systems ktrace shows: 2259 intro CALL access(0x28066000,0) 2259 intro NAMI "/lib/libsermons.so" 2259 intro RET access -1 errno 2 No such file or directory 2259 intro CALL access(0x28066000,0) 2259 intro NAMI "/usr/lib/libsermons.so" 2259 intro RET access -1 errno 2 No such file or directory 2259 intro CALL access(0x28066000,0) 2259 intro NAMI "/usr/lib/compat/libsermons.so" 2259 intro RET access -1 errno 2 No such file or directory 2259 intro CALL access(0x28066000,0) 2259 intro NAMI "/usr/local/lib/libsermons.so" 2259 intro RET access 0 On the failing system ktrace shows: 6746 intro NAMI "/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0) 6746 intro NAMI "/usr/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0) 6746 intro NAMI "/usr/lib/compat/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0) 6746 intro NAMI "/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL access(0x28066000,0) 6746 intro NAMI "/usr/lib/libsermons.so" 6746 intro RET access -1 errno 2 No such file or directory 6746 intro CALL write(0x2,0x28060080,0x3c) 6746 intro GIO fd 2 wrote 60 bytes "Shared object "libsermons.so" not found, required by "intro"" It never attempts to check /usr/local/lib. I can't find any = configuration item that affects that. How can this be fixed?