[Zope] MySQL and Python and Mac OS X??

Chris Muldrow cmuldrow@fredericksburg.com
Fri, 02 Nov 2001 09:57:13 -0500


I was trying to build the MySQL adapter so I could use my Mac OS X Zope with
MySQL, but I get this when I run python setup.py install:

running install
running build
running build_py
not copying CompatMysqldb.py (output up-to-date)
not copying _mysql_exceptions.py (output up-to-date)
not copying MySQLdb/__init__.py (output up-to-date)
not copying MySQLdb/converters.py (output up-to-date)
not copying MySQLdb/connections.py (output up-to-date)
not copying MySQLdb/cursors.py (output up-to-date)
not copying MySQLdb/sets.py (output up-to-date)
not copying MySQLdb/times.py (output up-to-date)
not copying MySQLdb/constants/__init__.py (output up-to-date)
not copying MySQLdb/constants/CR.py (output up-to-date)
not copying MySQLdb/constants/FIELD_TYPE.py (output up-to-date)
not copying MySQLdb/constants/ER.py (output up-to-date)
not copying MySQLdb/constants/FLAG.py (output up-to-date)
not copying MySQLdb/constants/REFRESH.py (output up-to-date)
not copying MySQLdb/constants/CLIENT.py (output up-to-date)
running build_ext
building '_mysql' extension
skipping _mysql.c (build/temp.darwin-1.4-Power Macintosh-2.1/_mysql.o
up-to-date)
cc -bundle -undefined suppress build/temp.darwin-1.4-Power
Macintosh-2.1/_mysql.o -L/usr/local/lib/mysql -lmysqlclient -lz -o
build/lib.darwin-1.4-Power Macintosh-2.1/_mysql.so
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in
effect
error: command 'cc' failed with exit status 1



Any ideas how to fix it?