#291 easy_install fails on MacOSX

MySQLdb-1.2
closed
MySQLdb (285)
5
2012-09-19
2009-10-01
Jardel Weyrich
No

I've been trying to install MySQLdb using easy_install on MacOSX 10.6.1, but the error messages inform the pre-built libraries are compiled for a different architecture. Although, it seems to work if I clean & build & install it manually.

Beyond that, the manual installation copies MySQL_python-1.2.3c1-py2.6-macosx-10.6-universal.egg to the site-packages directory, but if I run a python shell, and try to import MySQLdb, it's missing. Wasn't the install supposed to copy the MySQLdb directory (with .pyc's) to the site-packages as well?

The log with the necessary information is attached. Please, let me know if you need something else.

Discussion

  • Jardel Weyrich
    Jardel Weyrich
    2009-10-01

    necessary informations

     
    Attachments
  • SVN change 642 in the 1.2 branch should address this. The -arch flags needed to be passed at linking time as well as compile time to generate the correct loadable .so module.

     
  • 1.2.3 has been released.