[geos-devel] Issue with multiple geos installs
James David Smith
james.david.smith at gmail.com
Tue Dec 18 03:22:10 PST 2018
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20181218/b76a2c21/attachment.html>
More information about the geos-devel
mailing list