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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -