[postgis-users] 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"

Paul Ramsey pramsey at cleverelephant.ca
Thu Jan 14 06:13:07 PST 2016


Check the versions of the GEOS rpm you have installed, and also check
the "requires" declarations for the postgis rpm. Probably you'll find
the GEOS rpm is version 3.4 and that the postgis rpm doesn't declare a
dependency for geos 3.5. See if you can track down a GEOS 3.5 rpm.

P

On Thu, Jan 14, 2016 at 2:04 AM, Moti Umansky <Moti.Umansky at ness.com> wrote:
> 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?
>
>
>
> Thanks,
>
> Moti
>
>
>
>
>
> From: Moti Umansky
> Sent: יום א 10 ינואר 2016 18:08
> To: 'postgis-users at lists.osgeo.org'
> Subject: 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"
>
>
>
> Hi
>
>
>
> I'm trying to install the new 9.5 Postgres version with Postgis 2.2
> (downloaded from
> https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6.7-x86_64/)
>
>
>
> When I issue "CREATE EXTENSION postgis", I'm getting :
>
>
>
> 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
>
>
>
> OS : Oracle Linux 6U7
>
> Postgres version : "PostgreSQL 9.5.0 on x86_64-pc-linux-gnu, compiled by gcc
> (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit"
>
>
>
> I have tried to reproduce the issue on Postgres 9.4.5 downloaded from
> https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-6.7-x86_64.
>
>
>
> The issue was not reproduced.
>
>
>
> Thanks,
>
> Moti
>
> ____________________________
> Powered By Office365
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it.
> It may contain confidential or legally privileged information.
> If you are not the intended recipient you are hereby notified that any
> disclosure, copying, distribution or taking any action in reliance on the
> contents of this information is strictly prohibited and may be unlawful.
> If you have received this communication in error, please notify us
> immediately by forwarding this email to MailAdmin at ness.com and then delete
> it from your system.
> Ness technologies is neither liable for the proper and complete transmission
> of the information contained in this communication nor for any delay in its
> receipt.
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/postgis-users


More information about the postgis-users mailing list