【发布时间】:2011-09-27 16:36:29
【问题描述】:
我正在尝试在 mac os 上使用 Geodjango,我使用 postgresql 并安装了 GEOS,但出现此错误:
dlopen(/usr/local/lib/libgeos_c.dylib, 6): no suitable image found. Did find:
/usr/local/lib/libgeos_c.dylib: mach-o, but wrong architecture
有什么想法吗?
谢谢
【问题讨论】:
-
请告诉我们您是如何安装它的。通过Kyngchaos包,fink,macports,from source,brew,-在这里插入最喜欢的包管理器-?
-
我从 bin 包中安装了它,但是当我安装 ./configure 时,它使用 64 位。所以我这样做了: export CFLAGS=-m32 export CXXFLAGS=-m32 ./configure make make install
标签: python django macos postgresql geodjango