[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #ETZ-572888]: about zlib 1.2.5 and zlib 1.2.7
- Subject: [netCDF #ETZ-572888]: about zlib 1.2.5 and zlib 1.2.7
- Date: Wed, 08 Aug 2012 09:33:56 -0600
Hi Ming,
> I have a question about using zlib.
>
> My situation:
> 0. My platform: ubuntu 12.04
> 1. I am using intel compiler (Version 12.1) to build netcdf and WRF3.4
> 2. my HDF5 1.8.8 was build with zlib 1.2.5 and then I build netCDF 4.1.3
> with HDF5. netCDF was installed successfully. (the information from
> "nc-config --all" was attached as nc-config.txt).
>
> My problem:
> the old version zlib 1.2.5 gives me message like "libz.so.1: no version
> information available".
>
> My question:
> 1. Will above message influence WRF running?
I don't think so, as long as it links successfully.
> 2. If so, can I build zlib1.2.7 at /usr/local/zlib-1.2.7 (different
> directory from zlib-1.2.5) and use this Zlib1.2.7 for WRF environment setup
> (i.e. set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zlib-1.2.7)?
>
> And suggestions are appreciated!
Yes, though you may have to also set LD_FLAGS to get it to link correctly.
You may also have to ask WRF support, if you have WRF-related problems with
the result, but it sounds like it should work. The netCDF library depends
on the zlib used for building HDF5. If you're using shared libraries and it
gets through the configure step that checks for zlib, everything should work
OK, as far as netCDF is concerned.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: ETZ-572888
Department: Support netCDF
Priority: Normal
Status: Closed