开发者

installing Postgis 1.5.2 with PostGres 9.0.3 fails

on Mac OS X Snow Leopard, I get the following error on make

gcc -g -O2  -fno-common -DPIC  -Wall -Wmissing-prototypes stringb开发者_开发知识库uffer.o shpopen.o dbfopen.o safileio.o getopt.o shp2pgsql-core.o shp2pgsql-cli.o ../liblwgeom/liblwgeom.a -o shp2pgsql -liconv -lm 
Undefined symbols:
  "_libiconv_open", referenced from:
      _utf8 in shp2pgsql-core.o
  "_libiconv_close", referenced from:
      _utf8 in shp2pgsql-core.o
      _utf8 in shp2pgsql-core.o
  "_libiconv", referenced from:
      _utf8 in shp2pgsql-core.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [shp2pgsql] Error 1
make: *** [loaderdumper] Error 2

What is the solution?


It seems there's some problem with libconv. Either it isn'l installed or it isn't correctly linked. Try installing it first.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜