[R-sig-Geo] [R-SIG-Mac] Problems installing rgdal from source

Jonathan Greenberg jgreenberg at arc.nasa.gov
Sun Sep 10 02:34:35 CEST 2006

I am going through some similar problems getting rgdal running on macos x:

sudo ./usr/local/bin/R64 CMD INSTALL
--with-proj-lib=/usr/local/lib' rgdal

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
libproj.a and/or proj_api.h not found.
If the PROJ.4 library is installed in a non-standard location,
use --configure-args='--with-proj-include=/opt/local/include
--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 '/usr/local/lib64/R/library/rgdal'
** Restoring previous '/usr/local/lib64/R/library/rgdal'

Response from ls /usr/local/lib/libproj*:

/usr/local/lib/libproj.0.5.0.dylib      /usr/local/lib/libproj.dylib
/usr/local/lib/libproj.0.dylib          /usr/local/lib/libproj.la


I did a standard ./configure, make, sudo make install for proj-4.4.9 (after
going through the same fink issue as the previous poster).  Any suggestions?
You'll note the only real difference (I can't imagine why this would matter)
is that I'm running the 64 bit version of R found at


Jonathan A. Greenberg, PhD
NRC Research Associate
NASA Ames Research Center
MS 242-4
Moffett Field, CA 94035-1000
Office: 650-604-5896
Cell: 415-794-5043
AIM: jgrn307
MSN: jgrn307 at hotmail.com

More information about the R-sig-Geo mailing list