PHP 8.1 zip module asserting with dependency problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When attempting to run certain sites we are getting warning that "PHP Error: Extension zip is not found.". Further examination of the logs reveals this:
PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/lib/
The file /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: php 2:8.1+92ubuntu1
Uname: Linux 5.17.0-
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Thu May 5 10:43:35 2022
InstallationDate: Installed on 2017-12-06 (1610 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
PackageArchitec
SourcePackage: php-defaults
UpgradeStatus: Upgraded to jammy on 2021-12-08 (147 days ago)
Apparently libzip is not installed but efforts to install libzip-devel result in
The following packages have unmet dependencies. 0+16.04+ xenial+ build6 is to be installed
libzip-dev : Depends: libzip4 (= 1.7.3-1ubuntu2) but 1:1.0.1-
E: Unable to correct problems, you have held broken packages.
Xenial?!