[oi-dev] pigz wants higher zlib version

Udo Grabowski (IMK) udo.grabowski at kit.edu
Thu Sep 21 14:20:19 UTC 2023


On 21/09/2023 15:48, Bob Friesenhahn wrote:
> On Thu, 21 Sep 2023, Udo Grabowski (IMK) wrote:
>
>> On 21/09/2023 15:30, Bob Friesenhahn wrote:
>>> On Thu, 21 Sep 2023, Udo Grabowski (IMK) wrote:
>>>
>>>> pigz complains about a too old zlib version:
>>>>
>>>> pigz: abort: zlib version less than 1.2.3
>>>
>>> Is that for real?  OpenIndiana is using a zlib from 2006 or earlier?
>>>
>>> As I recall, zlib did change its ABI.
>>>
>>
>> The version is /usr/lib/libz.so.1.3 , so I suspect that this actually
>> means version 1.3. So probably there's a really stupid "version check"
>> in pigz itself.
>
> Zlib seems to march to the beat of a different drummer.
>
> In zlib 1.2.11 Makefile.in says SHAREDLIBV=libz.so.1.2.11
>

There's a fix, very probable for version 2.8:

"Make pigz compatible with two-component zlib version numbers.
  madler committed Aug 18, 2023 "

I checked the zlib_vernum() by compiling it in a separate main,
and it does the right thing.

So probably upgrading pigz to 2.8 is the right thing for OI, too
(it's currently at 2.7, but I can't find the source for it).
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5804 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20230921/f3dd861d/attachment.bin>


More information about the oi-dev mailing list