[R-sig-Geo] rgdal installation - libraries in non-standard locations
jgarcia at ija.csic.es
jgarcia at ija.csic.es
Mon Oct 24 17:55:10 CEST 2011
Hi all,
I am having problems installing RGDAL (with R 2.13.0) in a linux Redhat
box where I do not have administrative privileges, so I have to install
new libraries and R packages in my $HOME (/users/jgp) folder. The R core
is, however, preinstalled.
After installation of proj-4.7.0 and gdal-1.81.1 from sources in my
folder /users/jgp, libraries are located in /users/jgp/lib and includes in
/users/jgp/include for both libraries.
Then, installation of:
R CMD INSTALL --configure-args='--with-proj-lib=/users/jgp/lib'
rgdal_0.7-1.tar.gz
gives the output log (the end of it):
...
export PKG_LIBS='-L/users/jgp/lib -l'
R CMD INSTALL --configure-args='--with-proj-lib=/users/jgp/lib'
rgdal_0.7-1.tar.gz
checking proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_init_plus in -lproj... no
Error: libproj.a not found.
If the PROJ.4 library is installed in a non-standard location,
use --configure-args='--with-proj-lib=/opt/local/lib' for example,
replacing /opt/local/* with appropriate values for your installation.
If PROJ.4 is not installed, install it.
ERROR: configuration failed for package 'rgdal'
* removing '/users/jgp/R/x86_64-redhat-linux-gnu-library/2.13/rgdal'
Please, could you help with this? I've already spent with this an insane
amount of hours without any success.
Thanks
Javier
...
More information about the R-sig-Geo
mailing list