ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activepython
activepython
ActivePython 2.4.2.10, Mac OS X (Intel) problems
by Brett Powley other posts by this author
Mar 9 2006 8:30PM messages near this date
view in the new Beta List Site
ANN: ActivePython 2.4.3.11 is now available | Re: ActivePython 2.4.2.10, Mac OS X (Intel) problems
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@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Brett Powley
Trent Mick
Brett Powley
David McNeill
Trent Mick
Brett Powley
Trent Mick
Brett Powley
Trent Mick

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved