[Bug 1697832] Re: /usr/lib/php/20151012/zip.so links to wrong libzip version in x64 arch

Nish Aravamudan nish.aravamudan at canonical.com
Wed Jun 14 16:58:04 UTC 2017


Hello and thank you for filing this bug report.

On 14.06.2017 [04:14:34 -0000], Lithi wrote:
> Public bug reported:
> 
> $ ldd -v /usr/lib/php/20151012/zip.so
>         linux-vdso.so.1 =>  (0x00007fffe33ea000)
>         libzip.so.4 => not found

On 16.04, in a fully updated LXD container:

# ldd /usr/lib/php/20151012/zip.so 
	linux-vdso.so.1 =>  (0x00007ffdbcdfb000)
	libzip.so.4 => /usr/lib/x86_64-linux-gnu/libzip.so.4 (0x00007f04346d8000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f043430f000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f04340f4000)
	/lib64/ld-linux-x86-64.so.2 (0x00005605dfc3a000)

# apt policy php7.0-zip
php7.0-zip:
  Installed: 7.0.18-0ubuntu0.16.04.1
  Candidate: 7.0.18-0ubuntu0.16.04.1
  Version table:
 *** 7.0.18-0ubuntu0.16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     7.0.15-0ubuntu0.16.04.4 500
        500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
     7.0.4-7ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

> However the libzip4 package <a
href="https://packages.ubuntu.com/search?searchon=contents&keywords=libzip.so.4&mode=exactfilename&suite=xenial&arch=any">provides</a>:
> 
> /usr/lib/x86_64-linux-gnu/libzip.so.5.0.0
> /usr/lib/x86_64-linux-gnu/libzip.so.5

Um, I find this incredibly confusing. You pasted a link which directly
contradicts what you state?

The list of files in xenial in libzip4 is:

File	Packages
/usr/lib/aarch64-linux-gnu/libzip.so.4	libzip4 [arm64]
/usr/lib/arm-linux-gnueabihf/libzip.so.4	libzip4 [armhf]
/usr/lib/i386-linux-gnu/libzip.so.4	libzip4 [i386]
/usr/lib/powerpc-linux-gnu/libzip.so.4	libzip4 [powerpc]
/usr/lib/powerpc64le-linux-gnu/libzip.so.4	libzip4 [ppc64el]
/usr/lib/s390x-linux-gnu/libzip.so.4	libzip4 [s390x]
/usr/lib/x86_64-linux-gnu/libzip.so.4	libzip4 [amd64]

There is no libzip5 (which would be a SOVERSION bump) in Ubuntu or
Debian (it would be called libzip5) and it would be very wrong (and bad)
for a package named libzip4 to provide a libzip.so.5 file.

Are you claiming on your 16.04 system that you have a libzip.so.5 file?
Can you run `dpkg -S /usr/lib/x86_64-linux-gnu/libzip.so.5`?


** Changed in: php7.0 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php7.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1697832

Title:
  /usr/lib/php/20151012/zip.so links to wrong libzip version in x64 arch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1697832/+subscriptions



More information about the Ubuntu-server-bugs mailing list