[Pythonmac-SIG] How to get setuptools to build a Universal Binary?

Ned Deily nad at acm.org
Thu Jan 8 05:49:21 CET 2009


In article <49657DCF.8030204 at strout.net>, Joe Strout <joe at strout.net> 
wrote:
> I'm going to come back to this via another post -- sounds like Ned has 
> found that the 5.1 distribution of MySQL really is a bit messed up, but 
> the 5.0 one is OK.  So maybe if I just do this over with the 5.0 distro, 
> it will work.

Note, I haven't tested this so YMMV.  If you can get away with using a 
5.0 client, that should work.  But if you just fix-up the 5.1 libs with 
a couple of copies that should work, too.   Go to the directory of your 
mysql installation, probably something like:

cd /usr/local/mysql-5.1.30-osx10.4-universal

Then:

cd lib
ls -l *.dylib
file *.dylib

sudo sh

cp -p libmysqlclient.16.0.0.dylib libmysqlclient.16.dylib
cp -p libmysqlclient.16.0.0.dylib libmysqlclient.dylib

cp -p libmysqlclient_r.16.0.0.dylib libmysqlclient_r.16.dylib
cp -p libmysqlclient_r.16.0.0.dylib libmysqlclient_r.dylib

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list