[postgis-users] gdal version for Postgis 2.4

Regina Obe lr at pcorp.us
Tue Mar 10 10:11:26 PDT 2020


Markus,

How many PostgreSQL versions do you have installed?  And do you use gdal for anything besides PostgreSQL?


> -----Original Message-----
> From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On
> Behalf Of Zwettler Markus (OIZ)
> Sent: Tuesday, March 10, 2020 5:23 AM
> To: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
> Subject: Re: [postgis-users] gdal version for Postgis 2.4
> 
> [root at tstm49003 lib]# rpm -aq | grep postgis
> postgis24_96-2.4.8-7.rhel7.x86_64
> postgis24_96-client-2.4.8-7.rhel7.x86_64
> [root at tstm49003 lib]# rpm -aq | grep gdal
> gdal-libs-1.11.4-12.rhel7.x86_64
> gdal23-libs-2.3.2-8.rhel7.x86_64
> gdal30-libs-3.0.4-2.rhel7.x86_64
> [root at tstm49003 lib]# rpm -e gdal30-libs-3.0.4-2.rhel7.x86_64 --nodeps
> [root at tstm49003 lib]# rpm -aq | grep gdal
> gdal-libs-1.11.4-12.rhel7.x86_64
> gdal23-libs-2.3.2-8.rhel7.x86_64
> [root at tstm49003 lib]# cat /etc/ld.so.conf.d/gdal23-pgdg-libs.conf
> /usr/gdal23/lib/
> [root at tstm49003 lib]# ldconfig
> 
> Result: ERROR:  could not load library "/usr/pgsql-9.6/lib/rtpostgis-2.4.so":
> libgdal.so.26: cannot open shared object file: No such file or directory
> 
>  [root at tstm49003 lib]# ldd /usr/pgsql-9.6/lib/rtpostgis-2.4.so
>         linux-vdso.so.1 =>  (0x00007ffcf81f2000)
>         libgdal.so.26 => not found
>         libgeos_c.so.1 => /usr/geos37/lib64/libgeos_c.so.1
> (0x00007fa7e350f000) ...
> 
> My rpm (coming from the official pgdg channel) is build against gdal 3.0.4.
> 
> Is there an rpm build against gdal23?
> 
> -Markus
> 
> 
> 
> 
> > -----Urspr ngliche Nachricht-----
> > Von: postgis-users <postgis-users-bounces at lists.osgeo.org> Im Auftrag
> > von Paul Ramsey
> > Gesendet: Montag, 9. M rz 2020 17:20
> > An: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
> > Betreff: Re: [postgis-users] gdal version for Postgis 2.4
> >
> >
> >
> > > On Mar 9, 2020, at 8:51 AM, Zwettler Markus (OIZ)
> > > <Markus.Zwettler at zuerich.ch>
> > wrote:
> > >
> > > QUESTIONS:
> > > Does Postgis 2.4 depend on gdal23?
> >
> > Not at a source code level. It s probably possible to compile PostGIS
> > 2.4 against more modern GDAL.
> >
> > > Is there a bug with the rpm dependency?
> >
> > Yes.
> >
> > > How to fix this?
> >
> > Remove the new gdal and put an old one back in. Run ldconfig to
> > refresh the linker. Report the mistake to the pgdg yum redmine bug
> tracker.
> >
> > P
> >
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users



More information about the postgis-users mailing list