public inbox for [email protected]
help / color / mirror / Atom feedFrom: Justin Pryzby <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: [email protected]
Subject: Re: pg11 centos7 postgis24 broken due to libgeos
Date: Thu, 15 Nov 2018 14:50:19 -0600
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
On Wed, Nov 14, 2018 at 12:34:40PM -0600, Justin Pryzby wrote:
> On Mon, Oct 29, 2018 at 03:33:18PM +0000, Devrim Gündüz wrote:
> > On Mon, 2018-10-29 at 08:17 -0500, Justin Pryzby wrote:
> > > Want to mention that this is still an issue.
> >
> > Per discussion with upstream, I think I will have to release our GDAL package
> > to fix this issue. That will likely happen tomorrow.
I realized that a transition I already did to PG11 was running centos7 and
works just fine (with postgis and all its libs).
The issue appears to be this:
[pryzbyj@database ~]$ sudo cat /var/lib/pgsql/loadable_libraries.txt
could not load library "$libdir/postgis-2.4": ERROR: could not load library "/usr/pgsql-11/lib/postgis-2.4.so": /usr/pgsql-11/lib/postgis-2.4.so: undefined symbol: geod_polygon_init
[pryzbyj@database ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so|grep proj
libproj.so.0 => /lib64/libproj.so.0 (0x00007f5ef6681000)
[pryzbyj@database ~]$ rpm -qf /lib64/libproj.so.0
proj-4.8.0-4.el7.x86_64
[pryzbyj@database ~]$ rpm -qa |grep proj
proj-nad-4.8.0-4.el7.x86_64
proj49-4.9.3-3.rhel7.x86_64
proj-4.8.0-4.el7.x86_64
On the working server, libproj.so.0 finds proj49 (both servers have both
libraries installed).
[pryzbyj@database ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so |grep proj
libproj.so.12 => /usr/proj49/lib/libproj.so.12 (0x00007f219c649000)
The postgis24_11 pacakge is pulling in proj/epel, and the PGDG proj49 doesn't
satisfy the dependency.
I worked around the problem on one of the failing servers by copying an older
postgis RPM out of /var/cache on the working server:
package postgis24_11-2.4.5-1.rhel7.1.x86_64 (which is newer than postgis24_11-2.4.5-1.rhel7.x86_64) is already installed
Hope that helps.
Justin
view thread (6+ 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]
Subject: Re: pg11 centos7 postgis24 broken due to libgeos
In-Reply-To: <[email protected]>
* 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