Problem with gdal

Kieran McCusker <kieran.mccusker@gmail.com>

From: Kieran McCusker <kieran.mccusker@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2020-11-12T10:16:44Z
Lists: pgsql-bugs
Hi

Not sure if this is the right list as it seems like a packaging issue with
GDAL but here goes...

I am using gdal32 on fedora 33, but I've seen the problem before.

I am using the github repo pramsey/pgsql-ogr-fdw to build a command line
utility
ogr_fdw_info which reads things like excel spreadsheets and generates
foreign table definitions for them.

The problem I am having is that when this program ends it errors on:
free(): invalid pointer
Aborted (core dumped)

I've poked around but am struggling. I believe it is a problem with a
destructor in proj but don't take my word for it.

After using ldd on ogr_fdw_info I can make the problem disappear by doing
the following:

rm /lib64/libproj.so.15
ln -s /usr/proj72/lib/libproj.so.19 /lib64/libproj.so.15

Any help gratefully received

Thanks

Kieran