Re: pg11 centos7 postgis24 broken due to libgeos

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: pg11 centos7 postgis24 broken due to libgeos
Date: 2018-11-15 20:53:58
Message-ID: 20181115205358.GA13456@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On Thu, Nov 15, 2018 at 02:50:19PM -0600, Justin Pryzby wrote:
> 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(at)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(at)database ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so|grep proj
> libproj.so.0 => /lib64/libproj.so.0 (0x00007f5ef6681000)
>
> [pryzbyj(at)database ~]$ rpm -qf /lib64/libproj.so.0
> proj-4.8.0-4.el7.x86_64
>
> [pryzbyj(at)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(at)database ~]$ ldd /usr/pgsql-11/lib/postgis-2.4.so |grep proj
> libproj.so.12 => /usr/proj49/lib/libproj.so.12 (0x00007f219c649000)

Sorry, what I should have said was:

libproj is libproj.so.12 and not so.0.

Justin

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2018-11-20 09:29:39 Re: Missing RPM packages at yum.postgresql.org
Previous Message Justin Pryzby 2018-11-15 20:50:19 Re: pg11 centos7 postgis24 broken due to libgeos