[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
Sun Jan 10 07:40:47 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 gdt):
That symbol is in geos (3.5.0 anyway). Are you using the same prefix
pattern for 9.4, or do 9.4 and geos share a prefix? This looks like a
failure to set -L in the LDFLAGS of linking postgis.so (broadly; I realize
the specific L, -rpath, etc. vary).
Run ldd on postgis.so and see if it is finding all the shlibs, and in
particular if it is finding the libgeos_c that you expect.
(I have not tried with 9.5, but this looks like a postgis build issue, not
a 9.5 issue to me.)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3423#comment:1>
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