title: r Rgdal install fails on ubuntu 20.04 with error double red or corruption (!prev)
body: <p>I have a new pc that I have installed ubuntu 20.04 on. I have added R4.0.0 and RStudio 1.2.5042. I need Rgdal and have tried installing it in a variety of ways - directly from CRAN within RStudio, from R in a terminal, and from github. They all fail with similar error messages. Attempting to install sf has a similar failure. It's message is from checking GDAL: checking whether PROJ is available for running: the sf message is free(): invalid pointer ./configure line 3594:102773 Aborted (core dumped) ./gdal_proj. It appears there is a problem with the gdal installation. gdalinfo --version returns GDAL 3.1.0 and after some usage options. FAILURE: no datasource specified; free(): invalid pointer.</p>