Hello, I'm trying to build the SF package in R. I get this error.
Error: package or namespace load failed for ‘sf’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/james/R/x86_64-pc-linux-gnu-library/3.4/sf/libs/sf.so': /home/james/R/x86_64-pc-linux-gnu-library/3.4/sf/libs/sf.so: undefined symbol: GEOSSTRtree_nearest_generic_r Error: loading failed Execution halted ERROR: loading failed * removing ‘/home/james/R/x86_64-pc-linux-gnu-library/3.4/sf’ I am advised it's because I have multiple versions of geos installed. This seems correct as per below. james@UbuntuSandbox:~$ locate /bin/geos /opt/geos/bin/geos-config /usr/bin/geos-config /usr/local/bin/geos-config I'm unsure how to fix this. Could someone help me please? Thanks James
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel