[php-maint] Bug#843386: php7.0-gd: wrong libwebp dependency

Samuele Battarra battarsa at libero.it
Sun Nov 6 11:09:04 UTC 2016


Package: php7.0-gd
Version: 7.0.12-1
Severity: normal

Dear Maintainer,

every time I run php or sessionclean is run from cron, I get this error:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/gd.so' - libwebp.so.5: cannot open shared object file: No such file or directory in Unknown on line 0

the problem is than php7.0-gd depends only on libwebp6, but uses also libwebp5

$ ldd /usr/lib/php/20151012/gd.so | grep libwebp
libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f3f2c439000)
libwebp.so.5 => not found

installing package libwebp5 solve the problem                

-- Package-specific info:
==== Additional PHP 7.0 information ====

++++ PHP @PHP_VERSION SAPI (php7.0query -S): ++++

++++ PHP 7.0 Extensions (php7.0query -M -v): ++++

++++ Configuration files: ++++
**** /etc/php/7.0/mods-available/gd.ini ****
extension=gd.so


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php7.0-gd depends on:
ii  libc6            2.24-5
ii  libfreetype6     2.6.3-3+b1
ii  libgd3           2.2.3-3+b1
ii  libjpeg62-turbo  1:1.5.1-2
ii  libpng16-16      1.6.25-2
ii  libwebp6         0.5.1-2
ii  libx11-6         2:1.6.3-1
ii  libxpm4          1:3.5.11-1+b1
ii  php-common       1:45
ii  php7.0-common    7.0.12-1
ii  ucf              3.0036
ii  zlib1g           1:1.2.8.dfsg-2+b3

php7.0-gd recommends no packages.

php7.0-gd suggests no packages.

Versions of packages php7.0-common depends on:
ii  libc6        2.24-5
ii  libssl1.0.2  1.0.2j-1
ii  php-common   1:45
ii  ucf          3.0036

Versions of packages php7.0-cli depends on:
ii  libc6            2.24-5
ii  libedit2         3.1-20150325-1+b1
ii  libmagic1        1:5.29-1
ii  libpcre3         2:8.39-2
ii  libssl1.0.2      1.0.2j-1
ii  libxml2          2.9.4+dfsg1-2.1
ii  mime-support     3.60
ii  php7.0-common    7.0.12-1
ii  php7.0-json      7.0.12-1
ii  php7.0-opcache   7.0.12-1
ii  php7.0-readline  7.0.12-1
ii  tzdata           2016h-1
ii  ucf              3.0036
ii  zlib1g           1:1.2.8.dfsg-2+b3

Versions of packages php7.0-cli suggests:
pn  php-pear  <none>

Versions of packages libapache2-mod-php7.0 depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.23-5
ii  libc6                               2.24-5
ii  libmagic1                           1:5.29-1
ii  libpcre3                            2:8.39-2
ii  libssl1.0.2                         1.0.2j-1
ii  libxml2                             2.9.4+dfsg1-2.1
ii  mime-support                        3.60
ii  php7.0-cli                          7.0.12-1
ii  php7.0-common                       7.0.12-1
ii  php7.0-json                         7.0.12-1
ii  php7.0-opcache                      7.0.12-1
ii  tzdata                              2016h-1
ii  ucf                                 3.0036
ii  zlib1g                              1:1.2.8.dfsg-2+b3

Versions of packages libapache2-mod-php7.0 recommends:
ii  apache2  2.4.23-5

Versions of packages libapache2-mod-php7.0 suggests:
pn  php-pear  <none>

-- no debconf information



More information about the pkg-php-maint mailing list