[BlueOnyx:23430] Re: 5210R install: php zip error

Michael Stauber mstauber at blueonyx.it
Tue Nov 12 10:38:50 -05 2019


Hi Maurice,

> Some other info that might be interesting for debugging:
> 
> [root at centos8 ~]# ldd /usr/lib64/php/modules/zip.so
>     linux-vdso.so.1 (0x00007fff51695000)
>     libzip.so.5 => not found
>     libc.so.6 => /lib64/libc.so.6 (0x00007f87281fc000)
>     /lib64/ld-linux-x86-64.so.2 (0x00007f87287d1000)

Let me compare that with the results from a "good" box:

[root at 5210r]# ldd /usr/lib64/php/modules/zip.so
        linux-vdso.so.1 (0x00007ffc75944000)
        libzip.so.5 => /lib64/libzip.so.5 (0x00007f88a15a1000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f88a11dd000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f88a0fc6000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f88a0db5000)
        libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f88a0b22000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f88a064a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f88a19cc000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f88a0446000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f88a0226000)

Right. So your /lib64/libzip.so.5 is missing. Let's see where that comes
from:

[root at 5210r]# rpm -q --whatprovides /lib64/libzip.so.5
libzip-1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64

Please do a "yum install libzip" and that should fix it. It's quite an
oversight by upstream that "php-pecl-zip" doesn't have "libzip" as
requirement. I'll modify our comps.xml so that the Group "BlueOnyx"
requires it.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list