installing mysqldb module in os x

Piet van Oostrum piet at cs.uu.nl
Tue Nov 19 09:13:24 EST 2002


>>>>> "Stephen Aichele" <stephen at mochamail.com> (SA) writes:

SA> Howdy.
SA> I've installed mySQL v.3.23.52 on a system running mac os x 10.2, &
SA> python 2.2.   

SA> I'm now trying to install the python module for interfacing with
SA> mysql (mysqldb), but on 'python setup.py build', I keep getting the
SA> following error:

SA> 'can't locate file for: lmysqlclient-r'  ...  Before I go commenting
SA> out lines in the setup file (I'm assuming that I actually DO have the
SA> threadsafe libraries installed), I wanted to check if anyone else has
SA> run into (and solved) this problem.

If you installed the mySQL installer package then you don't have the
threadsafe library. You should compile it yourself (or ask me for a copy).
That's how I did it.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list