<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Helvetica Neue";
        panose-1:2 0 5 3 0 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0in;
        font-size:9.0pt;
        font-family:"Helvetica Neue";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="p1">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.<o:p></o:p></p>
<p class="p1">When I attempt to install or upgrade sf, rgdal, or terra I get similar error messages. They come after<o:p></o:p></p>
<p class="p1">** testing if installed package can be loaded from temporary location<o:p></o:p></p>
<p class="p1">The messages are<o:p></o:p></p>
<p class="p1">free(): invalid size<o:p></o:p></p>
<p class="p1">Aborted (core dumped).<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt">Gerald C. Nelson<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt">Professor Emeritus, UIUC<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt">+1 217-390-7888 (cell)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt">+1 970-639-2079 (land line)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt">Skype: jerrynelson<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">http://bit.ly/1arho7d</span><o:p></o:p></p>
</div>
</body>
</html>