我正在尝试编译最新的稳定 PostGis 版本或 SVN 版本,并且在添加光栅支持时都在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 && make install
我的配置是:--OS:Centos 5.8 2.6.18-238.9.1.el5 32 bits
--PostgreSQL 9.2.1 on i686-pc-linux-gnu,由 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:相对。4.8.0,2012 年 3 月 6 日
--GDAL:1.9.2**
任何帮助将不胜感激。
非常感谢。
问候。
安德烈·卡塞米罗