Re: MySQLdb on Intel Mac
Mac OS X has three environment variables possibly involved:
DYLD_LIBRARY_PATH
LD_LIBRARY_PATH
LIB_PATH
So, that the build works, makes me believe that the versions are
all ok.
But perhaps you need to set one/all of the to point to the MySQL
libraries.
In a console try:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/MAMP/Library/lib/mysql
and then try to import MySQLdb in python
perhaps you'll need to modify the other *_LIBRARY_PATH vars as well.
P.S.:
is the (mysql_root)s/ ... correct ?
then do this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/MAMP/Librarys/lib/mysql
Subject
Written By
Posted
Re: MySQLdb on Intel Mac
August 01, 2006 03:36AM
September 06, 2007 05:51AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.