[R-sig-Geo] trouble installing rgeos package in a cluster environment
Ken Nussear
knussear at mac.com
Wed Mar 25 21:55:52 CET 2015
Hi all - hope you can provide some help
I need to install the rgeos package in a cluster on a x86_64-suse-linux
platform where I do not have admin access, and am unable to get the
admin to install libraries (e.g. libgeos, and libgeos-devel) in standard
locations. I have compiled and installed them into a usr directory under
my home directory using
./configure --prefix=/afs/ipp-garching.mpg.de/home/k/kenu/usr
make
make install
and
rpm2cpio geos-devel-3.4.2-5.3.x86_64.rpm | cpio -idmv
for the devel package as I could not find the source
When Installing the R package I am getting an error:
install.packages("rgeos", repos="http://cran.us.r-project.org",
configure.args="--with-geos-config=/afs/ipp-garching.mpg.de/home/k/kenu/usr/bin/geos-config
--host=x86_64-suse-linux", lib='RPackages')
....
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/afs/ipp-garching.mpg.de/home/k/kenu/RPackages/rgeos/libs/rgeos.so':
libgeos-3.5.0dev.so: cannot open shared object file: No such file or
directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/afs/ipp-garching.mpg.de/home/k/kenu/RPackages/rgeos'
Yet this library is in my path
kenu at woese:~> which libgeos-3.5.0dev.so
/afs/ipp-garching.mpg.de/home/k/kenu/usr/lib/libgeos-3.5.0dev.so
Is there a way to point this to the right place?
Thanks
Ken
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list