RTPostgis库在Make Check时失败

时间:2012-11-09 19:18:05

标签: postgresql postgis libxml2 gdal geos

我正在尝试编译最新稳定的PostGis版本或SVN的版本,并且在添加Raster支持时,两者都失败了 Make Check

在错误日志中,我看到此消息,我在互联网上没有发现任何内容。

psql:/usr/src/postgis-sources/postgis-2.0.1/regress/00-regress-install/share/contrib/postgis/rtpostgis.sql:48: 
ERROR:  could not load library "/usr/src/postgis-sources/postgis-2.0.1/regress/00-regress-install/lib/rtpostgis-2.0.so": /usr/src/postgis-sources/postgis-2.0.1/regress/00-regress-install/lib/rtpostgis-2.0.so: undefined symbol: _ZNK11xercesc_2_710XMLRefInfo14isSerializableEv

我确实编译:

./ configure --with-pgconfig = / usr / pgsql-9.2 / bin / pg_config&&制造&& make install

我的配置是: --OS:Centos 5.8 2.6.18-238.9.1.el5 32位

- i686-pc-linux-gnu上的PostgreSQL 9.2.1,由gcc(GCC)编译4.1.2 20080704

- Postgis 2.0.1 - r9979 - 2012-11-09 18:40:01

- GEOS:3.3.5-CAPI-1.7.5

- PROJ:Rel。 4.8.0,2012年3月6日

- GDAL:1.9.2 **

任何帮助都会受到赞赏。

非常感谢。

问候。

Andrey Cassemiro

1 个答案:

答案 0 :(得分:1)

为什么不从预建的二进制文件安装?请参阅PGDG RPMs with YUM安装说明。