Hi! I'm trying to install MySQL-python package from pip(pip install MySQL-python) and take warning at installation process -
Code clang -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.8-intel-2.7/_mysql.o -L/Applications/AMPPS/mysql/lib -lmysqlclient_r -lpthread -lz -lssl -lcrypto -o build/lib.macosx-10.8-intel-2.7/_mysql.so
ld: warning: ignoring file /Applications/AMPPS/mysql/lib/libmysqlclient_r.dylib, file was built for unsupported file format ( 0xce 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): /Applications/AMPPS/mysql/lib/libmysqlclient_r.dylib
All MySQL libraries configured as i386 paltform, not x64!
Code lipo -info /Applications/AMPPS/mysql/lib/libmysqlclient_r.dylib
Non-fat file: /Applications/AMPPS/mysql/lib/libmysqlclient_r.dylib is architecture: i386
It's a bug of AMPPS or not?
|