On 3/28/2013 7:36 PM, DeTracey, Brendan wrote:
Hi,
I am trying to install the NetCDF 4.2 legacy C++ libraries, which are
not available via setup.exe. Although I have installed everything HDF5
via setup.exe I get the following problem:
looks at libnetcdf-cxx4_1 and libnetcdf-cxx4-devel packages
version 4.2-1 is available
$ make
make all-recursive
make[1]: Entering directory `/home/detraceyb/netcdf-cxx-4.2'
Making all in cxx
make[2]: Entering directory `/home/detraceyb/netcdf-cxx-4.2/cxx'
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -version-number
4:2:0 -o libnetcdf_c++.la -rpath /usr/local/lib
libnetcdf_c___la-netcdf.lo libnetcdf_c___la-ncvalues.lo -lnetcdf
/usr/bin/grep: /usr/lib/libhdf5_hl.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libhdf5_hl.la: No such file or
directory
libtool: link: `/usr/lib/libhdf5_hl.la' is not a valid libtool archive
when I removed the *.la files from last hdf5 packages I forgot
to update netcdf4 and also remove them.
Makefile:364: recipe for target `libnetcdf_c++.la' failed
make[2]: *** [libnetcdf_c++.la] Error 1
make[2]: Leaving directory `/home/detraceyb/netcdf-cxx-4.2/cxx'
Makefile:311: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/detraceyb/netcdf-cxx-4.2'
Makefile:240: recipe for target `all' failed
make: *** [all] Error 2
$ ls /usr/lib/libhdf*
/usr/lib/libhdf5.a /usr/lib/libhdf5_cpp.a
/usr/lib/libhdf5_hl.dll.a*
/usr/lib/libhdf5.dll.a* /usr/lib/libhdf5_cpp.dll.a*
/usr/lib/libhdf5_hl_cpp.a
/usr/lib/libhdf5.settings /usr/lib/libhdf5_hl.a
/usr/lib/libhdf5_hl_cpp.dll.a*
Thanks,
Brendan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple