"libmysqlclient.so.6" not found. (what does /sbin/ldconfig /usr/local/lib/mysql do ?)

Klaus Alexander Seistrup kas at maps.magnetic-ink.dk
Fri Jul 23 06:01:37 EDT 1999


sweeting at neuronet.com.my <sweeting at neuronet.com.my> wrote:

> When building Python from source, and with the MySQLmodule in the
> Modules directory, I got the following error :
> 
> Shared object "libmysqlclient.so.6" not found
> *** Error code 1
> 
> But libmysqlclient.so.6 does indeed exist in /usr/local/lib/mysql.

Put the directory in your /etc/ld.so.conf, then run ldconfig without any
arguments and you're all set.


Cheers,

  //Klaus

-- 
···[ Magnetic Ink ]·················································· ><> ···
···[ http://www.magnetic-ink.dk/ ]···········································




More information about the Python-list mailing list