python - Geo Django mac OS X -
i trying use geodjango on mac os, use postgresql , installed geos got error :
dlopen(/usr/local/lib/libgeos_c.dylib, 6): no suitable image found. did find: /usr/local/lib/libgeos_c.dylib: mach-o, wrong architecture any idea?
thank you
ok, have answer. mamp uses 32-bit python , compiled library 64-bit python.
so recompiled 32-bit python. this, used these commands in library folder:
export cflags=-m32 export cxxflags=-m32 ./configure make make install
Comments
Post a Comment