How to connect python and Mysql?

bruno modulix onurb at xiludom.gro
Wed Jun 29 04:58:25 EDT 2005


praba kar wrote:
> Dear All,
> 
>       I am using python2.4 and Mysql 4.0.20.  Now I am
> want to connect python and mysql. I have problem to
> install Mysql-python-1.2.0 interface into my machine.
> When I try to install this interface the following
> error restrict to install fully.
> 
> /System/Links/Executables/ld: cannot find
> -lmysqlclient_r
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1

This is not a Python problem, but what...

Your linker doesn't find the librairy libmysqlclient_r.so. Check if this
lib is installed on your system, and if yes if it's located somewhere
where your linker can find it.

> So If anybody knows regarding this kindly mail me
post on usenet, get the answer on usenet !-)

HTH
-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list