I want to use Python-MySQLDB library on Mac, therefore, to get _mysql.so under Mac 10, Code is compiled. 5 with my Intel Imac (i386)
It works in my 2 MacAC and other MacBooks. I
Does this mean that some machine-specific information is in the file Compiled?
_mysql.so
against a file
check % File post "itemprop =" text "> _mysql.so _mysql.so: mac-o 64-bit bundle x86_64
Make sure that it is on the right architecture for Mac It has been compiled on which it is not working. If you are trying to use it on any PowerPC (PPC) Mac, then you have to compile a MySQLDB as a universal binary. For example, a universal binary (such as the Python of the pre-installed version) will look like this:
% file / usr / bin / python / usr / bin / python: Mach-O universal 3 Architectures with binary / usr / bin / python (x86_64 for architecture): Mac OS 64-bit executable x86_64 / usr / bin / python (for architecture i386): Mac OS X i386 / usr / bin / Python (ppc7400 for architecture): MacO Executionable PPC
Then to answer your question: Yes, hey It seems that you may have compiled the module without universal support, although I can not answer this without any further information.
No comments:
Post a Comment