[gdal-dev] how to completely remove gdal from Ubuntu 20.04 and install from scratch

Gerald Nelson nelson.gerald.c at gmail.com
Fri Aug 7 17:35:54 PDT 2020



I have both a mac and a linux box with Ubuntu 20.04. gdal on the mac is installed through home brew. gdal on the linux box has been installed both from source with the usual configure, make, make install and with sudo apt-get install gdal-bin. Both completed successfully and sudo apt-get install gdal-bin returned GDAL 3.1.2, released 2020/07/07.

When I attempt to install or upgrade sf, rgdal, or terra I get similar error messages. They come after

** testing if installed package can be loaded from temporary location

The messages are

free(): invalid size

Aborted (core dumped).

Another thread suggested that there should not be multiple versions of gdal on a machine. I didn’t intend for there to be but I had GDAL 3.0.7 originally on the linux box before installing GDAL3.1.2 so it is possible that there may be bits of the older version around.

I can’t find any good directions for how to do a deep clean, or for that matter to install gdal on Ubuntu 20.04 so I was hoping to get some directions here.

Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200808/3e5a3c6d/attachment.html>


More information about the gdal-dev mailing list