Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2008 11:33:13 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Robin Becker <robin@reportlab.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ldconfig vs /usr/local/lib/mysql
Message-ID:  <6FFD21D0-5EE3-4E2F-B031-F3EE1DBDA791@mac.com>
In-Reply-To: <48121CF8.7040007@jessikat.plus.net>
References:  <48121CF8.7040007@jessikat.plus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FFD21D0-5EE3-4E2F-B031-F3EE1DBDA791>