[petsc-users] cannot find 'libz.a' when configuring

Satish Balay balay at mcs.anl.gov
Wed Apr 10 17:21:38 CDT 2013


try using configure option LIBS="-L/opt/zlib-1.2.7/lib -lz'

Satish

On Wed, 10 Apr 2013, Seungbum Koo wrote:

> Hi. I tried to add hdf5 when configuring. HDF5-1.8.9 is currently installed
> with szip-2.1 and zlib-1.2.7.
> 
> It stops with message
> 
> *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
> -------------------------------------------------------------------------------
> Compression library [libz.a or equivalent] not found
> *******************************************************************************
> 
> What I don't understand is that 'libz.a' file exists in
> '/opt/zlib-1.2.7/lib'. What should I do?
> 
> Seungbum
> 



More information about the petsc-users mailing list