> I'm trying to install RNetCDF in Linux machine using > install.packages("RNetCDF",lib="path_to_R_library") command but it failed. > Could you help me? > > checking udunits.h usability... yes > checking udunits.h presence... yes > checking for udunits.h... yes > configure: creating ./config.status > config.status: creating src/Makevars > ** libs > gcc -std=gnu99 -I/nfs/rain/data/raid4/users/ajamroen/R_new/R-2.8.1/include > -I/usr/local/include -fpic -g -O2 -c RNetCDF.c -o RNetCDF.o > gcc -std=gnu99 -shared -L/usr/local/lib64 -o RNetCDF.so RNetCDF.o -lnetcdf > -ludunits > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: > /usr/local/lib/libnetcdf.a(attr.o): relocation R_X86_64_32 against `a local > symbol' can not be used when making a shared object; recompile with -fPIC > /usr/local/lib/libnetcdf.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make: *** [RNetCDF.so] Error 1 > chmod: cannot access > `/nfs/rain/data/raid4/users/ajamroen/R_new/R-2.8.1/library/RNetCDF/libs/*': > No such file or directory > ERROR: compilation failed for package 'RNetCDF' > ** Removing > '/nfs/rain/data/raid4/users/ajamroen/R_new/R-2.8.1/library/RNetCDF' > ** Restoring previous > '/nfs/rain/data/raid4/users/ajamroen/R_new/R-2.8.1/library/RNetCDF' > > Sorry, but Rnetcdf is not our product. You will have to contact the Rnetcdf support team. Good luck! Ed Ticket Details =================== Ticket ID: NHT-503832 Department: Support netCDF Priority: Urgent Status: Closed