Huge problem gettng MySQLdb to work on my mac mini running Macosx 10.5 Leopard

geert geert at
Tue Mar 18 18:56:10 CET 2008

On Mar 14, 1:15 pm, martin.lal... at wrote:
> look at
> There is a macpython list that you can consult at

Just wanted to let you know that I've solved my problem. The solution
is to compile mysql using

CFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
LDFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
CXXFLAGS='-arch i386 -arch x86_64 -arch ppc7400 -arch ppc64' \
./configure --disable-dependency-tracking  --enable-thread-safe-client

You then go this way to get it running on your machine:

Then reinstall MySQLdb. Magic!


More information about the Python-list mailing list