Re: Problems in building 1.2.2 on Mac OS 10.5
Hi all,
I've been searching all over for a solution to my problem, which is similar to what you guys have been experiencing. I have a mac mini running 10.5.2, and as it's a new machine, its running apache2 as 64-bit. I also have mysql running as 64-bit. The mac mini is supposed to be running a django project using mysql, so I need MySQLdb. This builds and installs (all fixes above applied) but will not run, complaining thus:
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.5-i386/egg/MySQLdb/__init__.py", line 19, in <module>
File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 7, in <module>
File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 6, in __bootstrap__
ImportError: dynamic module does not define init function (init_mysql)
>>>
I've been looking at this as if it were a problem related to the architecture, so I've tried all manner of solutions to get a full fat installation. But I may be barking up the wrong tree altogether.
Does anyone have this same problem? And a fix perhaps?
Geert