How to connect python and Mysql?

P

praba kar

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

So If anybody knows regarding this kindly mail me


regards
PRabahar






__________________________________________________________
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com
 
B

bruno modulix

praba said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,785
Latest member
undedgini

Latest Threads

Top