make:***[/usr/lib/R/etc/Makeconf:200:gdal.o]Error1ERROR:compilation failedforpackage‘sf’*removing ‘/usr/local/lib/R/site-library/sf’ ERROR:dependency ‘sf’isnot availableforpackage‘leafem’*removing ‘/usr/local/lib/R/site-library/leafem’ ERROR:dependency ‘sf’isnot availableforpa...
[/usr/share/R/share/make/shlib.mk:10: s2.so] Error 1 ERROR: compilation failed for package ‘s2’ * removing ‘/usr/local/lib/R/site-library/s2’ ERROR: dependency ‘s2’ is not available for package ‘sf’ * removing ‘/usr/local/lib/R/site-library/sf’ The downloaded source ...
** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘s2’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/local/lib/R/site-library/00LOCK-s2/00new/s2/libs/s2.so...
Retrieving'https://cran.csiro.au/src/contrib/RcppParallel_5.0.0.tar.gz'...OK[fileisuptodate]InstallingRcppParallel[5.0.0]...FAILEDErrorinstallingpackage'RcppParallel':===*installing*source*package‘RcppParallel’...**package‘RcppParallel’successfullyunpackedandMD5sumschecked**usingstagedinstallation**prep...
Same problem as here: r-spatial/sf#1848 , now solved for the sf package. Building has trouble with new location of gdal-config, libproj and sqlite when using Homebrew for ARM64 (instead of usr/local/ , homebrew intalls components to the arm64-compatible directory /opt/homebrew/opt/) ins...
package ‘sf’ ... ** using staged installation configure: CC: clang -arch arm64 configure: CXX: clang++ -arch arm64 -std=gnu++14 checking for gdal-config... no no configure: error: gdal-config not found or not executable. ERROR: configuration failed for package ‘sf’ ─ removing ‘...
ERROR: configuration failed for package ‘sf’ Maybe I'm not understanding the proposed solution: For those stuck until the reversion is published, and are using the R rpm, it looks as though setting LDFLAGS= ./configure works when ./configure fails. So from the command line R CMD INSTALL...