[postgis-tickets] [PostGIS] #3423: CREATE EXTENSION postgis fails with "ERROR: could not load library "/usr/pgsql-9.5/lib/postgis-2.2.so": /usr/pgsql-9.5/lib/postgis-2.2.so: undefined symbol: GEOSClipByRect"
PostGIS
trac at osgeo.org
Mon Feb 1 21:56:25 PST 2016
#3423: CREATE EXTENSION postgis fails with "ERROR: could not load library
"/usr/pgsql-9.5/lib/postgis-2.2.so": /usr/pgsql-9.5/lib/postgis-2.2.so:
undefined symbol: GEOSClipByRect"
--------------------------+---------------------------
Reporter: motiumansky | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.2
Component: postgis | Version: 2.2.x
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by koyae):
robe - I went back and tried doing `ldconfig` (by itself) as root from the
GEOS directory before and after `./configure`, `make`, and `make install`
of GEOS 3.5.0, and again between these steps as I built PostGIS itself. I
still get the same error when I try `CREATE EXTENSION PostGIS;` in psql.
To be sure the command wasn't hitting old dependencies that failed to be
overwritten or removed, I also did `rm /usr/share/pgsql94/extension/*`
before I retried.
On the same system, the installation went smoothly with GEOS 3.4.2.
PostGIS `configure` output:
{{{
PostGIS is now configured for x86_64-pc-linux-gnu
-------------- Compiler Info -------------
C compiler: gcc -g -O2
SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.5.0
GDAL config: /usr/bin/gdal-config
GDAL version: 1.9.2
PostgreSQL config: /usr/bin/pg_config
PostgreSQL version: PostgreSQL 9.4.5
PROJ4 version: 48
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.9.1
JSON-C support: no
PCRE support: no
PostGIS debug level: 0
Perl: /usr/bin/perl
--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
SFCGAL support: disabled
Address Standardizer support: disabled
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets:
dblatex:
convert:
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
}}}
Let me know what else I can provide.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3423#comment:15>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list