You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install rgdal in R. The installation stopped since pcs.csv could not be found in the expected folder namely /usr/share/gdal/2.2 and as returned by gdal-config --datadir. Instead pcs.csv is located in /usr/share/gdal.
Steps to reproduce the problem.
From the terminal run:
# open R
R
install.packages("rgdal")
which returns following error message (shortened):
...
checking for gdal-config... /usr/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 2.2.3
checking GDAL version >= 1.11.4... yes
checking gdal: linking with --libs only... yes
checking GDAL: /usr/share/gdal/2.2/pcs.csv readable... no
configure: error: pcs.csv not found in GDAL data directory.
ERROR: configuration failed for package ‘rgdal’
...
To make the rgdal installation work, I created the required folder and copied the required file into it:
Expected behavior and actual behavior.
I tried to install rgdal in R. The installation stopped since
pcs.csv
could not be found in the expected folder namely/usr/share/gdal/2.2
and as returned bygdal-config --datadir
. Insteadpcs.csv
is located in/usr/share/gdal
.Steps to reproduce the problem.
From the terminal run:
which returns following error message (shortened):
To make the rgdal installation work, I created the required folder and copied the required file into it:
Hence, it would be great if you could adjust the hard-coded (?) paths as returned by
gdal-config --datadir
.Operating system
For example: Ubuntu 18.04 64 bit
GDAL version and provenance
the 2.2.3 version as installed by QGIS3 via https://www.qgis.org/ubuntu. In https://qgis.org/ubuntu/dists/bionic/main/binary-amd64/Packages it says, dependencies are gdal-abi-2-2-3 and libgdal20 (>= 1.8.0).
The text was updated successfully, but these errors were encountered: