[Pythonmac-SIG] How to get setuptools to build a Universal Binary?
Ned Deily
nad at acm.org
Thu Jan 8 02:11:45 CET 2009
In article <49654D58.2080001 at noaa.gov>,
Christopher Barker <Chris.Barker at noaa.gov> wrote:
> > and, with a fat python config:
> >
> > $ file _mysql.so
> > _mysql.so: Mach-O universal binary with 2 architectures
> > _mysql.so (for architecture i386): Mach-O bundle i386
> > _mysql.so (for architecture ppc): Mach-O bundle ppc
>
> Ned, how did you built that?
easy_install -Z MySQL-python
using python from the python.org 2.5 universal installer.
> > $ file libmysqlclient_r.16.0.0.dylib
> > libmysqlclient_r.16.0.0.dylib: Mach-O universal binary with 3
> > architectures
> > libmysqlclient_r.16.0.0.dylib (for architecture i386): Mach-O
> > dynamically linked shared library i386
> > libmysqlclient_r.16.0.0.dylib (for architecture ppc64): Mach-O 64-bit
> > dynamically linked shared library ppc64
> > libmysqlclient_r.16.0.0.dylib (for architecture ppc): Mach-O dynamically
> > linked shared library ppc
>
> and where did you get this? is that from the tarball on the MySQL site?
Yes, but see my followup post. After comparing the 5.0 and 5.1
tarballs, it seems clear that the libs on the 5.1 tarball are hosed a
bit.
--
Ned Deily,
nad at acm.org
More information about the Pythonmac-SIG
mailing list