[postgis-users] Problem raster2pgsql on Centos 8 - postgres 12 / postgis 2.5

Devrim Gündüz devrim at gunduz.org
Fri Nov 13 15:53:00 PST 2020


Hi,

On Mon, 2020-11-02 at 08:17 +0000, Alain Benard wrote:
> I have a problem with rasterpgsql with all file geotiff.
> 
> On a server Centos 7 / Postgres 9.5 / postgis 2.5 :
> /usr/pgsql-9.5/bin/raster2pgsql -b 1 -I -C -F -t 50x50 -s 2154
> filename.geotiff tablename > script.sql       : it's OK.
> 
> On a server Centos 8 / Postgres 12 / postgis 2.5 : (with the same
> geotiff file)
>                 /usr/pgsql-12/bin/raster2pgsql -b 1 -I -C -F -t 50x50
> -s 2154 filename.geotiff tablename > script.sql         : error
> The script.sql file is not completed and the error is :
>                 free(): invalid pointer
> Abandon (core dumped)

Can you please fully update the packages? It should pick up PROJ 7.2.0,
GDAL 3.2.0, etc. This was a RPM packaging issue, and should be fixed
now.

Also, can you please remove OS-supplied PROJ packages as well?

dnf remove proj-*

Regards,
-- 
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20201113/a10457e7/attachment.sig>


More information about the postgis-users mailing list