[Brett Powley wrote]
> 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 "foob
On 11/03/2006, at 4:17 AM, Trent Mick wrote:
That may be because you are trying to use a python built just for
Intel
(ActivePython) with an extension module built just for PowerPC
(_mysql.so). What does this yield:
file /Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site
[Brett Powley wrote]
> On 11/03/2006, at 4:17 AM, Trent Mick wrote:
> >That may be because you are trying to use a python built just for
> >Intel
> >(ActivePython) with an extension module built just for PowerPC
> >(_mysql.so). What does this yield:
> >
> >file /Library/Frameworks/Python.fram
Yes, I've built them separately for each Python. The MySQLdb
setup.py script uses whichever one is found in the PATH first to
build and install. It definitely builds and installs into /Library/
Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages. And it's definitely built
>I perhaps should have mentioned that I built the MySQLdb extension on
>Intel too:
>
>(The two different builds of Python - Apple's and ActiveState -
>aren't interfering with each other.)
I never thought the two versions were interfering with each other. And, it's
not so much a question of wh
[Brett Powley wrote]
> ...
> 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-pack