[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
Thu Jan 14 01:58:37 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 motiumansky):

 Replying to [comment:4 motiumansky]:
 > Thank you for your update.
 >
 > I'm not sure I understood correctly your question regarding the
 prefixes.
 >
 > ldd /usr/pgsql-9.5/lib/postgis-2.2.so
 >         linux-vdso.so.1 =>  (0x00007fffaa7bb000)
 >         libgeos_c.so.1 => /usr/lib64/libgeos_c.so.1 (0x00007f6c40984000)
 >         libproj.so.0 => /usr/lib64/libproj.so.0 (0x00007f6c40737000)
 >         libjson-c.so.2 => /lib64/libjson-c.so.2 (0x00007f6c4052c000)
 >         libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f6c401d9000)
 >         libm.so.6 => /lib64/libm.so.6 (0x00007f6c3ff55000)
 >         libc.so.6 => /lib64/libc.so.6 (0x00007f6c3fbc0000)
 >         libgeos-3.4.2.so => /usr/lib64/libgeos-3.4.2.so
 (0x00007f6c3f81b000)
 >         libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f6c3f515000)
 >         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6c3f2fe000)
 >         libdl.so.2 => /lib64/libdl.so.2 (0x00007f6c3f0fa000)
 >         libz.so.1 => /lib64/libz.so.1 (0x00007f6c3eee4000)
 >         /lib64/ld-linux-x86-64.so.2 (0x000000353b000000)


 I have reproduced the issue when installing with yum install from the
 internet.

 I think there is something wrong with the last version installation on
 Oracle Linux (or Red Hat).

 Has anyone succeeded to install the last version on Oracle Linux or Red
 Hat?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3423#comment:11>
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