[Zope] mysqlda / mysql-python on OS X

David Siedband david at calteg.org
Wed Aug 25 16:04:38 EDT 2004


I try installing mysql-python (for mysqlda) with the instance of python 
installed with the Plone installer on 10.3

Ono-Sendai david$ 
/Applications/Plone2/Library/Software/Zope270/Python/bin/python 
setup.py build

I get:
> building '_mysql' extension
> gcc -bundle -bundle_loader 
> /Applications/Plone2/Library/Software/Zope270/Python/bin/python2.3 
> build/temp.darwin-7.5.0-Power_Macintosh-2.3/_mysql.o -L/usr/lib/mysql 
> -L/usr/local/lib/mysql -L/usr/local/mysql/lib 
> -L/usr/local/mysql/lib/mysql -L/sw/lib/mysql -lmysqlclient -lz -o 
> build/lib.darwin-7.5.0-Power_Macintosh-2.3/_mysql.so -flat_namespace
> ld: warning -L: directory name (/usr/lib/mysql) does not exist
> ld: warning -L: directory name (/usr/local/lib/mysql) does not exist
> ld: warning -L: directory name (/usr/local/mysql/lib/mysql) does not 
> exist
> ld: warning -L: directory name (/sw/lib/mysql) does not exist
> ld: can't locate file for: -lbundle1.o
> error: command 'gcc' failed with exit status 1

lbundle1.o isn't anywhere on my system...

Has anyone had this problem?  Anyone got it to compile with this set-up?

thanks

--
David



More information about the Zope mailing list