Displaying 20 results from an estimated 21 matches for "libnetcdf".
2011 Sep 24
2
ncdf - install error
...-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -c ncdf3.c -o ncdf3.o
gcc -m64 -std=gnu99 -shared -L/usr/local/lib64 -o ncdf.so ncdf.o ncdf2.o
ncdf3.o -L/usr/local/lib -lnetcdf -L/usr/lib64/R/lib -lR
/usr/bin/ld: /usr/local/lib/libnetcdf.a(attr.o): relocation R_X86_64_32
against `.rodata' 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: *** [ncdf.so] Error 1
ERROR: compilation failed for package ?ncdf?
* re...
2010 Mar 24
1
install ncdf package
...king for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
Found netcdf.h in: .
checking for nc_open in -lnetcdf... yes
Found netcdf library file libnetcdf.a in directory .
configure: creating ./config.status
config.status: creating R/load.R
config.status: creating src/Makevars
** libs
gcc -m64 -std=gnu99 -I/usr/include/R -I. -I/usr/local/include -fpic -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-siz...
2008 Dec 23
1
NetCDF within R: installation assistance
...y... yes
checking /usr/local/netcdf-3.6.1/include/netcdf.h presence... yes
checking for /usr/local/netcdf-3.6.1/include/netcdf.h... yes
Using user-specified netCDF include dir=/usr/local/netcdf-3.6.1/include
Found netcdf.h in: /usr/local/netcdf-3.6.1/include
checking for /usr/local/netcdf-3.6.1/lib/libnetcdf.a... yes
Using user-specified netCDF library dir=/usr/local/netcdf-3.6.1/lib
Found netcdf library file libnetcdf.a in directory
/usr/local/netcdf-3.6.1/lib
configure: creating ./config.status
config.status: creating R/load.R
config.status: creating src/Makevars
** libs
gcc -std=gnu99 -I/usr/local/...
2009 Aug 13
1
ncdf
...king for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking netcdf.h usability... yes
checking netcdf.h presence... yes
checking for netcdf.h... yes
Found netcdf.h in: .
checking for nc_open in -lnetcdf... yes
Found netcdf library file libnetcdf.a in directory .
configure: creating ./config.status
config.status: creating R/load.R
config.status: creating src/Makevars
** libs
gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/lib64/R/include -I.
-I/usr/local/include -fpic -g -O2 -c ncdf2.c -o ncdf2.o
gcc -std=gnu99 -I/usr/lib64/R/include -I/usr/l...
2008 Jan 22
1
install ncdf package on a 64-bit machine
..._nc_ttc_to_nctype':
ncdf.c:424: warning: implicit declaration of function 'exit'
ncdf.c:424: warning: incompatible implicit declaration of built-in function
'exit'
gcc -std=gnu99 -shared -L/usr/local/lib64 -o ncdf.so ncdf2.o ncdf3.o
ncdf.o-L. -lnetcdf
/usr/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: *** [ncdf.so] Error 1
chmod: cannot access `/home/ljin/share/R-2.6...
2010 Mar 09
1
ncdf installation
...nter target
type
ncdf3.c: In function ‘R_nc_get_vara_numvarid’:
ncdf3.c:267: warning: assignment discards qualifiers from pointer target
type
gcc -std=gnu99 -shared -o ncdf.so ncdf.o ncdf2.o ncdf3.o
-L/apps/netcdf/4.0.1/gcc/lib -lnetcdf -L/usr/lib64/R/lib -lR
/usr/bin/ld: /apps/netcdf/4.0.1/gcc/lib/libnetcdf.a(attr.o): relocation
R_X86_64_32 against `.rodata' can not be used when making a shared object;
recompile with -fPIC
/apps/netcdf/4.0.1/gcc/lib/libnetcdf.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [ncdf.so] Errore 1
ERROR: compilation failed for package...
2010 Mar 16
2
Problem in installing ncdf package
.../netcdf/ftp/netcdf-4.0.1.tar.gz
tar -xzvf netcdf-4.0.1.tar.gz
R CMD INSTALL --configure-args="-with-netcdf_incdir=/home/user/soft/netcdf-4.0.1/libsrc -with-netcdf_libdir=/home/user/soft/netcdf-4.0.1/libsrc/" ncdf_1.6.tar.gz # Error: user specified netCDF library directory does not have libnetcdf.a !
Thank you very much for your kind help.
[[alternative HTML version deleted]]
2010 Oct 26
1
ncdf4 package installation in R
...eds but
I receive the following error during the loading phase of installation:
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/usr/local/lib64/R/library/ncdf4/libs/ncdf4.so':
libnetcdf.so.6: cannot open shared object file: No such file or directory
ERROR: loading failed
* removing ?/usr/local/lib64/R/library/ncdf4?
Can someone point me in the right direction to resolve this error?
Thanks in advance
--
View this message in context: http://r.789695.n4.nabble.com/ncdf4-package-in...
2002 Feb 14
1
netCDF
Thomas,
I'm using your package netCDF. Thanks for making
it and for leave it available for public use.
It took me a little while installing it, as my
netcdf library is libnetcdf.a (not libnetcdf)
and my library directory is not /usr/local/lib.
Finally, I was able to install with the following:
1. ln -s libnet.a libnet (in my usr/local/netcdf-3.5.0/lib directory)
2. R CMD INSTALL --configure-args=--with-netCDF=/usr/local/netcdf-3.5.0
netCDF_1.5.tar.gz
Perhaps you might inc...
2009 Apr 21
0
joined R-today [SELinux]
...Enhanced Linux (in some modes)
generates messages like that when code in a shared library
is not compiled to have position independent code.
I.e., the -fpic or -fPIC flag was not supplied when
compiling. Your build log showed that -fpic was used
when compiling your code, but the 3rd party library,
libnetcdf.a may not have been compiled this way.
The command
eu-findtextrel /usr/lib/R/library/ncdf/libs/ncdf.so
will tell you which parts of ncdf.so were not compiled
with -fpic.
If you cannot recompile libnetcdf.a then you may have
to turn off some the security enhancements.
See
http://people.redh...
2010 Oct 09
1
ncdf installation in R
...tcdf.h usability... yes
checking /home/challar/netcdf/include/netcdf.h presence... yes
checking for /home/challar/netcdf/include/netcdf.h... yes
Using user-specified netCDF include dir=/home/challar/netcdf/include
Found netcdf.h in: /home/challar/netcdf/include
checking for /home/challar/netcdf/lib/libnetcdf.a... yes
Using user-specified netCDF library dir=/home/challar/netcdf/lib
Found netcdf library file libnetcdf.a in directory /home/challar/netcdf/lib
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gcc -std=gnu99 -I/home/challar/R/R-2.11.1/include -I/home/challar/ne...
2001 Jan 24
5
trouble with netCDF (PR#824)
Having trouble with netCDF since I upgraded to 1.2.1 (did directly
from 1.1.1). Package was recompiled after the upgrade.
Symptoms:
open.netCDF returns cleanly, but read.netCDF causes R to segfault
and dump core. What else do you need me to write to help?
--please do not edit the information below--
Version:
platform = i586-pc-linux-gnu
arch = i586
os = linux-gnu
system = i586, linux-gnu
2000 Jul 25
1
NetCDF data?
Does anyone know of a module for R to access NetCDF datasets? I remember
reading about a module for Splus, but I can't seem to find anything on CRAN.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2002 Nov 25
0
Installing netCDF module in R
...h-netCDF=/usr/local/netcdf-3.5.0
To configure the path, but keep getting the following error.
climate at netCDF : > R CMD INSTALL /home/climate/murphyb/netCDF
* Installing *source* package 'netCDF' ...
loading cache ./config.cache
checking for ncopen in -lnetcdf... no
configure: error: libnetcdf not found
ERROR: configuration failed for package 'netCDF'
I know it is a path problem but can not find the file to modify to
get the correct path. Know doubt this happened before but could
somebody tell me what to modify to correct this problems.
Thanks
-------------------------------...
2006 Apr 25
0
need automake/autoconf help to build RnetCDF and ncdf packages
...itten so they look in more places?
Briefly, the problem is that Fedora-Extras installs the header files
in a subdirectory /usr/include/netcdf-3 rather than /usr/include:
# rpm -ql netcdf-devel
/usr/include/netcdf-3
/usr/include/netcdf-3/ncvalues.h
/usr/include/netcdf-3/netcdf.h
/usr/lib/netcdf-3/libnetcdf.a
/usr/lib/netcdf-3/libnetcdf_c++.a
/usr/lib/netcdf-3/libnetcdf_g77.a
Last week I posted in this list that I re-built the Fedora-Extras
netcdf rpm so that it would have more standard installation, and then
I was able to make RNetCDF work.
In the meanwhile, I posted in bugzilla.redhat.com asking...
2008 Mar 13
0
need automake/autoconf help to build RnetCDF and ncdf packages
...ritten so they look in more places?
Briefly, the problem is that Fedora-Extras installs the header files
in a subdirectory /usr/include/netcdf-3 rather than /usr/include:
# rpm -ql netcdf-devel
/usr/include/netcdf-3
/usr/include/netcdf-3/ncvalues.h
/usr/include/netcdf-3/netcdf.h
/usr/lib/netcdf-3/libnetcdf.a
/usr/lib/netcdf-3/libnetcdf_c++.a
/usr/lib/netcdf-3/libnetcdf_g77.a
Last week I posted in this list that I re-built the Fedora-Extras
netcdf rpm so that it would have more standard installation, and then
I was able to make RNetCDF work.
In the meanwhile, I posted in bugzilla.redhat.com asking i...
2012 Oct 22
2
Problem installing ndf library
Hello,
I am a new user of R and Linux (debian squeeze), and I am trying to install
the ncdf library.
First I don't know wich is the best to use (ncdf or ncdf4), But not matter
the one I tried to install, it always failled.
I try to find a solution to this common problem on the web, but I never find
the good way to solve it.
I hope you could help me I try many things during two days and now I
2000 Dec 22
2
REading the netCDF format into R
...he
same warnings that I get when I compile a corresponding code that runs
on its own (i.e. doesn't use the R-libraries)
cc -shared -lc -o nc2r.so nc2r.c -I/home/matlab6/extern/include
-I/usr/include -I/usr/lib/R/include -I/home/kareb/local/include
-L/usr/lib/gcc-lib/i386-linux/2.95.2 /usr/lib/libnetcdf.a -lg2c -lm
nc2r.c: In function `ncread':
nc2r.c:259: warning: assignment makes integer from pointer without a
cast
nc2r.c:260: warning: assignment makes integer from pointer without a
cast
nc2r.c:261: warning: assignment makes integer from pointer without a
cast
nc2r.c:262: warning: assignmen...
2013 Feb 05
1
ncdf4 installation problem: undefined symbol [SEC=UNCLASSIFIED]
Hello,
I'm trying to install ncdf4 on RHEL 5.8, R version 2.15.1.
Previously installed is netcdf 3.6.2 from Red Hat, so I've compiled and installed netcdf 4.2.1.1 (with hdf5 and zlib as per install instructions, and also set --enable-netcdf4 option) into /usr/local.
When attempting to install ncdf4 it is failing with:
** testing if installed package can be loaded
Error in
2010 Jun 12
1
sharing experience - installing R Spatial Views
...=====================================
9: In install.packages(pkgs, repos = views[[i]]$repository, ... :
installation of package 'ncdf' had non-zero exit status
message error:
Fatal error: I cannot find the directory that holds the netcdf include
file netcdf.h!
solved:
apt-get install libnetcdf-dev
================================================================================================
10: In install.packages(pkgs, repos = views[[i]]$repository, ... :
installation of package 'spatialsegregation' had non-zero exit status
message error:
make: *** [tcltkimg.o] Error 1
ER...