I have ActivePython 2.4.2.10 for Mac OS X (Intel) installed, and am
attempting to use MySQLdb (http://sourceforge.net/projects/mysql-
python/) 1.2.1c7. I get the following error when trying to import
the module:
Traceback (most recent call last):
File "foobar.py", line 12, in ?
import MySQLdb
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
site-packages/MySQLdb/__init__.py", line 19, in ?
import _mysql
ImportError: Failure linking new module: /Library/Frameworks/
Python.framework/Versions/2.4/lib/python2.4/site-packages/_mysql.so:
Symbol not found: _mysql_get_host_info
Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages/_mysql.so
Expected in: dynamic lookup
This works with no problems on:
- Mac OS X (PowerPC)
- Mac OS X (Intel), using Apple's bundled version of Python
Is this an issue with ActivePython on Intel, or is it something to do
with the way that MySQLdb is built?
--------------------------------------------------------------
Brett Powley -- PhD Candidate
Centre for Language Technology, Macquarie University, Australia
w: http://www.ics.mq.edu.au/~bpowley
faciendi plures libros nullus est finis
frequensque meditatio carnis adflictio est
--------------------------------------------------------------
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython