arac
arac copied to clipboard
osx 64-bit python import failures
I can't get this thing to build and load properly for python on OSX 64bit. Assistance is greatly appreciated.
import arac._cppbridge Traceback (most recent call last): File "
", line 1, in ImportError: dlopen(arac/_cppbridge.so, 2): no suitable image found. Did find: arac/_cppbridge.so: mach-o, but wrong architecture
$ file arac/_cppbridge.so arac/_cppbridge.so: Mach-O 64-bit bundle x86_64
$ uname -a Darwin macbox 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
Bump
I have the same problem. I've tried to use CFLAGS and CXXFLAGS environment variables, but no luck. Scons doc is very poor about architecture. I understand that somehow I have to tell the g++ compiler to target i386, but I haven't got any luck with it yet.
ImportError: dlopen(/Users/ustoll/arac/src/python/arac/_cppbridge.so, 2): Library not loaded: libarac.dylib Referenced from: /Users/ustoll/arac/src/python/arac/_cppbridge.so Reason: no suitable image found. Did find: /usr/local/lib/libarac.dylib: stat() failed with errno=62
$ uname -a Darwin kfm.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64