public inbox for [email protected]  
help / color / mirror / Atom feed
From: John Harvey <[email protected]>
To: Christoph Berg <[email protected]>
To: Justin Pryzby <[email protected]>
To: pgsql-pkg-yum <[email protected]>
Subject: Re: [PostgreSQL YUM Repository - Bug #3710] (Resolved) RHEL7 postgresql11 postgis2.5 fails with /usr/pgsql-11/lib/postgis-2.5.so: undefined symbol: geod_polygon_init
Date: Thu, 21 Feb 2019 08:41:32 -0500
Message-ID: <CABcP5fgK_-OpJOT5xbQYsCjCMYVqx-TEaB4hbN=o=S0ugmGSbw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<redmine.journal-14074.20181210113352.5ccd98437e7314f6@postgresql.org>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

Hi Christoph (and others),

I believe the issue that remains could be pretty easily fixed when Devrim
releases geos 3.7.0-2.  That patch version contains an Obsoletes so that
geos37 will obsolete geos36, which I think would solve the functionality
problem.  I did some testing locally with that change, and it seemed to
work.  Since geos37 only adds functionality on top of geos36 and has no
breaking changes, it should be an okay solution to solve the "having 2
geos's on at the same time is a problem" issue.

Regards,
  -John


-----------------------
John Harvey
(843) 628-5421
Crunchy Data
Enterprise PostgreSQL
www.crunchydata.com


On Thu, Feb 21, 2019 at 8:26 AM Christoph Berg <[email protected]> wrote:

> Re: Justin Pryzby 2019-01-07 <[email protected]>
> > This appears to be more or less same as issue #3710.  See earlier
> communiction,
> > copied below.
> >
> > Just reinstalling postgis on a centos7 test server which previously ran
> > postgres 11 beta.
> >
> > Installing : geos37-3.7.0-1.rhel7.1.x86_64
> > Installing : postgis24_11-2.4.6-3.rhel7.x86_64
> > Installing : postgis24_11-client-2.4.6-3.rhel7.x86_64
> >
> > sentinel=# \i /usr/pgsql-11/share/contrib/postgis-2.4/postgis.sql
> > BEGIN
> > SET
> > DO
> > CREATE FUNCTION
> > psql:/usr/pgsql-11/share/contrib/postgis-2.4/postgis.sql:95: ERROR:
> could not load library "/usr/pgsql-11/lib/postgis-2.4.so":
> /usr/pgsql-11/lib/postgis-2.4.so: undefined symbol:
> GEOSFrechetDistanceDensify
>
> This has just popped up again on IRC, with
> postgis24_96-2.4.6-3.rhel7.x86_64
>
> Why does postgis-2.4.so even "see" the geos37 package?
>
> > [pryzbyj@template0 ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so
> >         libgeos_c.so.1 => /usr/geos36/lib64/libgeos_c.so.1
> (0x00007f3e50e6e000)
> >         libgeos-3.6.2.so => /usr/geos36/lib64/libgeos-3.6.2.so
> (0x00007f3e4f12e000)
> >
> > Fixed with: rpm -e geos36-3.6.2-3.1.rhel7.x86_64
> > Should declare the RPM equivalent of debian's "Breaks" ??
>
> Christoph
>
>


view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: [PostgreSQL YUM Repository - Bug #3710] (Resolved) RHEL7 postgresql11 postgis2.5 fails with /usr/pgsql-11/lib/postgis-2.5.so: undefined symbol: geod_polygon_init
  In-Reply-To: <CABcP5fgK_-OpJOT5xbQYsCjCMYVqx-TEaB4hbN=o=S0ugmGSbw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox