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

Seungbum Koo doougsini at gmail.com
Thu Apr 11 09:30:34 CDT 2013


Thank you, it worked.

--with-hdf5-include='<hdf5 include directory> <szip-2.1 include directory>'
and so for --with-hdf5-lib

made configuration and installation successful.

Seungbum


On Wed, Apr 10, 2013 at 7:37 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> I could retrieve it from the one you attempted to send to petsc-users. And
> see:
>
> >>>>>>
> Possible ERROR while running linker: /opt/hdf5-1.8.9/lib/libhdf5.a(H5Z.o):
> In function `H5Zunregister':
> H5Z.c:(.text+0xa9b): undefined reference to `SZ_encoder_enabled'
> /opt/hdf5-1.8.9/lib/libhdf5.a(H5Z.o): In function `H5Z_unregister':
> H5Z.c:(.text+0x1872): undefined reference to `SZ_encoder_enabled'
> /opt/hdf5-1.8.9/lib/libhdf5.a(H5Z.o): In function `H5Zfilter_avail':
> H5Z.c:(.text+0x2592): undefined reference to `SZ_encoder_enabled'
> <<<<<<<
>
> You did mention building hdf4 with szip-2.1. So perhaps you sould
> specify hdf5 - and all the dependent libraries using
> --with-hdf5-include --with-hdf5-lib options [and not --with-hdf5
> option]
>
> Satish
>
>
> On Wed, 10 Apr 2013, Satish Balay wrote:
>
> > send logs to petsc-maint
> >
> > Satish
> >
> > On Wed, 10 Apr 2013, Seungbum Koo wrote:
> >
> > > Thank you. It fixed the problem. But it stopped with other message,
> saying
> > > that
> > >
> > >
> *******************************************************************************
> > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> for
> > > details):
> > >
> -------------------------------------------------------------------------------
> > > --with-hdf5-dir=/opt/hdf5-1.8.9 did not work
> > >
> *******************************************************************************
> > >
> > > I asked up to which version of HDF5 does PETSc support this morning
> because
> > > of this problem, thinking if this is a compatibility reason or some
> sort
> > > similar.
> > >
> > > I tried to attach the configure.log file but there is 512kb limit to
> this
> > > mailing list.
> > >
> > > Any suggestion will help.
> > >
> > > Thanks.
> > >
> > > Seungbum
> > >
> > >
> > > On Wed, Apr 10, 2013 at 5:21 PM, Satish Balay <balay at mcs.anl.gov>
> wrote:
> > >
> > > > 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
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130411/f6bda8df/attachment.html>


More information about the petsc-users mailing list