Re: [netcdfgroup] [thredds] Failure using configure of nccmp


Hi David,

Thanks for your answer.

I tried to include both HDF5 and netCDF libraries in LDFLAGS/LIBS.

Maybe I'm doing something wrong, what I'm doing is to define in my shell those variables like this:

LDFLAGS="-L/opt/netcdf-4.2.1.1/lib/ -L/opt/hdf5-1.8.10-patch1/lib/"

LIBS="/opt/netcdf-4.2.1.1/lib/:/opt/hdf5-1.8.10-patch1/lib/"

But still I get exactly the same errors.

I've realized, however, that those values are empty in the config.log

LDFLAGS=' '
LIBS='-lm '

Cheers,
Carlos

On 12/10/2013 07:05 PM, David Foster wrote:
Hi Carlos,

On Dec 10, 2013, at 12:25 PM, Carlos <cardogar@xxxxxxxxxxx> wrote:

In the config.log I see:

configure:3763: gcc -o conftest -g -O2 conftest.c -lnetcdf -lm >&5
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libnetcdf.a(libnetcdf4_la-nc4file.o):
In function nc4_rec_read_types':
/opt/NETCDF_BUILD/netcdf-4.2.1.1/libsrc4/nc4file.c:1850: undefined
reference toH5Gget_create_plist’
Looks like a reference to HDF5 - do you have those libraries available as well? 
 Adjust your LDFLAGS/LIBS to adjust for that too.

and many more similar lines like that one...

I don't know what else to try, so any help would be really appreciated .

Thanks.

--
Carlos

_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



--
Carlos



  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: