Skip to content
Prev 28106 / 29559 Next

rgdal 1.5-8 released on CRAN

On Fri, 29 May 2020, Thiago V. dos Santos wrote:

            
So far so good, but you chose to override pkg-config proj by passing 
configure arguments. You should let pkg-config proj provide those values.
Also OK.
The directory where libproj should be does not contain it - whether you 
got it wrong, pkg-config got it wrong, or for some other reason, the 
library was not found.
Try to avoid googling, it is usually misleading. Running ./configure in 
the untarred source package directory, and running ./configure --help to 
show the arguments to configure can be much more helpful. Crucially, they 
are up to date, while most search hits are old, and they are ordered by 
hit counts, which is certainly no guarantee of precision.
Try not setting configure arguments and let pkg-config proj do the work if 
you feel you can trust it. If, however, you have multiple installs of GDAL 
and/or PROJ, the proj.pc file may point to a deleted install. Download and 
untar the source package, and run just ./configure with its argumments, or 
setting PKG_CONFIG_PATH= until you find a recipe that works that far.

Roger