From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 18:33:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C77CB1065670 for ; Fri, 25 Apr 2008 18:33:13 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id A55BE8FC13 for ; Fri, 25 Apr 2008 18:33:13 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out4.apple.com (Postfix) with ESMTP id 7010B2B02457; Fri, 25 Apr 2008 11:33:13 -0700 (PDT) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id 548BC464003; Fri, 25 Apr 2008 11:33:13 -0700 (PDT) X-AuditID: 11807135-a89b9bb000000d04-0d-481223e9c760 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) by relay12.apple.com (Apple SCV relay) with ESMTP id 39B41420004; Fri, 25 Apr 2008 11:33:13 -0700 (PDT) Message-Id: <6FFD21D0-5EE3-4E2F-B031-F3EE1DBDA791@mac.com> From: Chuck Swiger To: Robin Becker In-Reply-To: <48121CF8.7040007@jessikat.plus.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 25 Apr 2008 11:33:13 -0700 References: <48121CF8.7040007@jessikat.plus.net> X-Mailer: Apple Mail (2.919.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: ldconfig vs /usr/local/lib/mysql X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 18:33:13 -0000 On Apr 25, 2008, at 11:03 AM, Robin Becker wrote: > One of our FreeBSD 6 servers got rebooted and when it came back we > found that /usr/local/lib/mysql was not amongst the directories on > the standard ldconfig paths. > > Can someone gently explain how this is supposed to work. Your mysql binary ought to have an explicit path reference, which you can check via ldd: % ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.5 => /lib/libreadline.so.5 (0x28084000) libncurses.so.5 => /lib/libncurses.so.5 (0x280b1000) libmysqlclient.so.14 => /usr/local/lib/mysql/libmysqlclient.so.14 (0x280f2000) [ ... ] What's the problem you were trying to solve? -- -Chuck