ldconfig vs /usr/local/lib/mysql
    Chuck Swiger 
    cswiger at mac.com
       
    Fri Apr 25 18:33:13 UTC 2008
    
    
  
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
    
    
More information about the freebsd-questions
mailing list