우분투 11.10에 PostGIS 2.0.0을 설치하려고합니다. 기본적으로 여기에있는 OSGeo 지침을 따라했습니다 : http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1110src. GEOS 3.3.3을 만들었습니다. 터미널에 geos-config --version
을 입력하면 3.3.3
가 반환됩니다.PostGIS 2.0.0 GEOS 문제 설치
./configure
및 make
을 문제없이 실행할 수 있습니다. ./configure
끝 :
PostGIS is now configured for x86_64-unknown-linux-gnu
-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.3.3
GDAL config: /usr/local/bin/gdal-config
GDAL version: 1.9.0
PostgreSQL config: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 9.1.3
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.7.8
JSON-C support: no
PostGIS debug level: 0
Perl: /usr/bin/perl
--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets:
dblatex:
convert:
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
모두 괜찮아요? 그러나 여기에 문제가 있습니다. /tmp/pgis_reg/regress_log
내부
Creating spatial db postgis_reg
createlang: language "plpgsql" is already installed in database "postgis_reg"
Preparing spatial db postgis_reg
Something went wrong during db initialization (core module).
For details, check /tmp/pgis_reg/regress_log
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/anthony/Downloads/postgis-2.0.0/regress'
make: *** [check] Error 1
은 다음과 같습니다 : 나는 make test
실행하면 빌드가 끝이 실패 내가 sudo make install
을 실행하는 문제를 무시하고 전진하는 노력했습니다
SET
BEGIN
psql:/home/anthony/Downloads/postgis-2.0.0/regress/00-regress-install/share/contrib/postgis/postgis.sql:69: ERROR: could not load library "/home/anthony/Downloads/postgis-2.0.0/regress/00-regress-install/lib/postgis-2.0.so": /home/anthony/Downloads/postgis-2.0.0/regress/00-regress-install/lib/postgis-2.0.so: undefined symbol: GEOSRelatePatternMatch
하지만 난 얻을 때 psql -d infinitydb -f postgis.sql
내 DB를 설정에 나는 비슷한 문제가 얻을 :
SET
BEGIN
psql:postgis.sql:69: ERROR: could not load library "/usr/lib/postgresql/9.1/lib/postgis-2.0.so": /usr/lib/postgresql/9.1/lib/postgis-2.0.so: undefined symbol: GEOSRelatePatternMatch
나는 그물에 주위를 둘러 보았다 한을, 다른 한 당을 발견 아들이 GEOSRelatePatternMatch
문제가 있지만 GEOS 설치가 여러 번 발생했기 때문에 문제가 발생했습니다. 내가 아는 한, 나는 단지 하나뿐입니다. 어떤 아이디어?
이것은 똑같은 문제입니다. 고맙습니다 – chhantyal