can't build netcdf-4 on AIX because of some inflate problem...

Quincey Koziol koziol at ncsa.uiuc.edu
Thu Dec 22 14:48:19 MST 2005


Hi Ed,

> Trying to build a pretty empty HDF5 program on AIX, I am getting
> errors like this:
> 
> 
> configure:22491: xlc -o conftest -g  -I/home/ed/local/zasu/include  -L/home/ed/local/zasu/lib -lm conftest.c -lhdf5   >&5
> ld: 0711-317 ERROR: Undefined symbol: .inflateInit_
> ld: 0711-317 ERROR: Undefined symbol: .inflate
> ld: 0711-317 ERROR: Undefined symbol: .inflateEnd
> ld: 0711-317 ERROR: Undefined symbol: .compress2
> 
> 
> But this build of HDF5 was built with zlib, so what could be the
> problem here?
> 
> Any thoughts?

    You need a "-lz" flag on your linking line.

        Quincey



More information about the netcdf-hdf mailing list