Hi all,

I'm having a bit of trouble installing rgdal on my new cluster. I've
correctly installed gdal and proj4 locally, but i thinking i'm missing just
one more config argument, has anyone need to specify where the libgdal.so
file is specifically.

*My call:*

>
install.packages("rgdal",configure.args=c('--with-gdal-config=/home1/02443/bw4sz/gdal-1.8.1/bin/gdal-config',"--with-proj-include=/home1/02443/bw4sz/proj-4.6.1/include","--with-proj-lib=/home1/02443/bw4sz/proj-4.6.1/lib"))
*
*
*The final error message:*
unable to load shared object
'/home1/02443/bw4sz/R/x86_64-unknown-linux-gnu-library/3.0/rgdal/libs/rgdal.so':libgdal.so.1:
cannot open shared object file: No such file or directory


Thanks for your insight,

Ben Weinstein


I*'ve highlighted below where it has trouble:*
* installing *source* package "rgdal"
** package ārgdalā successfully unpacked and MD5 sums checked
configure: CC: icc -std=gnu99
configure: CXX: icpc
configure: rgdal: 0.8-9
checking for /usr/bin/svnversion... yes
configure: svn revision: 470
configure: gdal-config: /home1/02443/bw4sz/gdal-1.8.1/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 1.8.1
checking GDAL version >= 1.6.3... yes
checking for gcc... icc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether icc -std=gnu99 accepts -g... yes
checking for icc -std=gnu99 option to accept ANSI C... none needed
checking how to run the C preprocessor... icc -std=gnu99 -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking gdal: linking with --libs only... yes
checking GDAL: /home1/02443/bw4sz/gdal-1.8.1/share/gdal/pcs.csv readable...
yes
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... yes
.*/proj_conf_test: error while loading shared libraries: libproj.so.0:
cannot open shared object file: No                     such file or
directory*
*checking PROJ.4 Version 4.7 or earlier... yes*
*./proj_conf_test: error while loading shared libraries: libproj.so.0:
cannot open shared object file: No                     such file or
directory*
*checking PROJ.4: epsg found and readable... yes*
*./proj_conf_test: error while loading shared libraries: libproj.so.0:
cannot open shared object file: No                     such file or
directory*
*checking PROJ.4: conus found and readable... yes*
configure: Package CPP flags:  -I/home1/02443/bw4sz/gdal-1.8.1/include
-I/home1/02443/bw4sz/proj-4.6.1/in                    clude
configure: Package LIBS:  -L/home1/02443/bw4sz/gdal-1.8.1/lib -lgdal
-L/home1/02443/bw4sz/proj-4.6.1/lib                     -lproj
configure: creating ./config.status
config.status: creating src/Makevars

-- 
Ben Weinstein
PhD Candidate
Ecology and Evolution
Stony Brook University

http://benweinstein.weebly.com/

	[[alternative HTML version deleted]]

