mysql, ld.so.conf

Tushar Teredesai tushar at linuxfromscratch.org
Sun Feb 1 11:47:46 PST 2004


Jeremy Utley wrote:

>On Sat, 2004-01-31 at 18:24, Kenneth Skiles wrote:
>  
>
>>One thing though is that the libs were put into their own directory,
>>/usr/lib/mysql
>>
>>Do we need a note in the BLFS to update the /etc/ld.so.conf file with
>>/usr/lib/msyql ?
>>    
>>
>YES!
>
>Without this, programs that link to libmysqlclient.so won't run
>properly.  I run into this every time I set up my virtual mail system,
>which uses Exim linked to libmysqlclient to access SQL databases.
>  
>
Why does mysql install the libs under a subdirectory if these are needed 
by other applications?

The correct solution (IMO) is to move the required libs from 
/usr/lib/mysql to /usr/lib. Paths should never be added to /etc/ld.so.conf.

-- 
Tushar Teredesai
   http://linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/




More information about the blfs-support mailing list