[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #GOJ-472807]: Error: "'H5F_LIBVER_18' undeclared"



Yay! Have fun netCDF'ing!

Sean

> Dear Sean,
> 
> thank you very much for response. It works now =)
> 
> Sincerly,
> Birgit
> ________________________________________
> Von: Unidata netCDF Support address@hidden
> Gesendet: Freitag, 20. Januar 2012 21:35
> Bis: DÃlle, Birgit
> Cc: address@hidden
> Betreff: [netCDF #GOJ-472807]: Error: "'H5F_LIBVER_18' undeclared"
> 
> Greetings Birgit,
> 
> I think that what you are seeing is that netCDF cannot find your HDF5 
> library. Try specifying the path to the HDF5 and zlib libraries using the 
> CPPFLAGS and LDFLAGS variables when you run configure, like so (note that we 
> no longer use the --with-zlib, or other --with-* flags with configure - it's 
> all done through the CPPFLAGS and LDFLAGS):
> 
> CPPFLAGS="-I/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5/include 
> -I/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8/include" 
> LDFLAGS="-L/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5/lib 
> -L/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8/lib" ./configure 
> --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/netcdf-4.1.3 
> --enable-netcdf4  --enable-large-file-tests
> 
> Also, be sure to run
> 
> make disclean
> 
> before rerunning configure.
> 
> Please let me know if this work for you!
> 
> Cheers,
> 
> Sean
> 
> > Dear Ladies and Gentlemen,
> >
> > i am a student in German Aerospace Centre. I tried to install netcdf
> > with hdf5 and zlib, but it doesn't work and i have no idea, what to
> > do. The installing process of netcdf fails.
> >
> > My operation system is SUSE in version 11.2.
> >
> >
> > In the following i describe, what i have done:
> > Download zlib-1.2.5
> > Download hdf5-1.8.8
> > Download netcdf-4.1.3
> >
> > The extracted directorys are in "/home/learjet/doel_bi/local/".
> > The installation of all should be in 
> > "/home/learjet/doel_bi/local/netcdfWithHdf5".
> >
> > ##################################################
> > In /home/learjet/doel_bi/local/zlib-1.2.5
> > ##################################################
> > ./configure
> > --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5
> > make
> > make install
> > ##################################################
> > In /home/learjet/doel_bi/local/hdf5-1.8.8
> > ##################################################
> > ./configure
> > --with-zlib=/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5
> > --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8
> > make
> > make install
> >
> > Then i exported the LD_LIBRARY_PATH:
> > export 
> > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5/lib
> > export 
> > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/learjet/doel_bi/local/netcdfWithHdf5/hdf5-1.8.8/lib
> >
> > ##################################################
> > In /home/learjet/doel_bi/local/netcdf-4.1.3
> > ##################################################
> > ./configure
> > --prefix=/home/learjet/doel_bi/local/netcdfWithHdf5/netcdf-4.1.3
> > --enable-netcdf4
> > --with-zlib=/home/learjet/doel_bi/local/netcdfWithHdf5/zlib-1.2.5
> > --enable-large-file-tests
> >
> > While running the Makefile this error message appears:
> > nc4file.c: In function 'nc4_create_file':
> > nc4file.c:272: error: 'H5F_LIBVER_18' undeclared (first use in this 
> > function)
> > nc4file.c:272: error: (Each undeclared identifier is reported only once
> > nc4file.c:272: error: for each function it appears in.)
> > make[2]: *** [libnetcdf4_la-nc4file.lo] Error 1
> >
> > What i have to do, to run the Makefile successfully?
> > Thanks for your help.
> >
> > Yours sincerely,
> > Birgit DÃlle
> >
> >
> 
> 
> Ticket Details
> ===================
> Ticket ID: GOJ-472807
> Department: Support netCDF
> Priority: Normal
> Status: Open
> 
> 
> 


Ticket Details
===================
Ticket ID: GOJ-472807
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.