[petsc-dev] Unable to find zlib library

Satish Balay balay at mcs.anl.gov
Tue Mar 19 09:16:31 CDT 2013


zlib detection code is a bit wired. Try using the additional option:


LIBS=/cygdrive/c/libraries/hdf5/libs/zlib.lib

Satish

On Tue, 19 Mar 2013, Chen Shapira wrote:

> Hi Again,
> 
> While configuring PETSc in Cygwin,
> I recieve the following error :
> "Compression library [libz.a or equivalent] not found"
> 
> The thing is, I already have the file : zlib.lib included in the
> configuration of petsc .
> 
> My configure command is :
> ./config/configure.py --with-cc='win32fe cl' --with-fc='win32fe ifort'
> --with-cxx='win32fe cl' --with-mpi-dir="/cygdrive/C/Program Files
> (x86)/MPICH2" --download-f-blas-lapack=1 --with-clanguage=c
> --with-petsc-arch=arch-mswin-c-debug
> --CFLAGS=-D_CRT_SECURE_NO_DEPRECATE --with-debugging=0
> --ignore-cygwin-link --with-valgrind=0 --with-c2html=0
> --download-sowing=1 --with-hdf5=1
> --with-hdf5-include=/cygdrive/c/libraries/hdf5/include
> --with-hdf5-lib=\[/cygdrive/c/libraries/hdf5/libs/hdf5dll.lib,/cygdrive/c/libraries/hdf5/libs/hdf5_fortrandll.lib,/cygdrive/c/libraries/hdf5/libs/szip.lib,/cygdrive/c/libraries/hdf5/libs/zlib.lib\]
> 
> Thank you again..
> Chen
> 




More information about the petsc-dev mailing list