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

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

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


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