Solved it:
Copyapt-get install libzip-dev
will install the missing libzip-distribution
Answer from Tobias Gassmann on Stack Overflowdocker-init command fails with error checking for libzip... not found
php 8.1.24 to 8.1.25 error | DirectAdmin Forums
Libzip is missing
docker - Installing PHP-zip on a php:7.4-fpm image - Stack Overflow
To install libzip4, you have to add the Ubuntu repositories to your apt source list. This can be done by
sudo apt-add-repository main
sudo apt-add-repository restricted
sudo apt-add-repository universe
sudo apt-add-repository multiverse
Here you find some examples.
@ravery's answer got me half way there:
The problem though wasn't a conflict so much but simply that the 32 bit package won't satisfy the dependency requirement for 64 bit installation (even though you can install 32 versions of software in general with 32 bit dependencies) at least in this case (or in general - I have no idea).
Unfortunately, the 64 bit version either doesn't have an installation candidate, or has some other package name I don't know and can't find online.
sudo apt-get install libzip4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libzip4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libzip4' has no installation candidate
I can't seem to find a ppa for the 64 bit package either...
If you follow @ravery advice and do:
sudo apt-get purge libzip4
You get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libzip4:i386*
0 upgraded, 0 newly installed, 1 to remove and 20 not upgraded.
After this operation, 121 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 311771 files and directories currently installed.)
Removing libzip4:i386 (1.0.1-0ubuntu1) ...
Purging configuration files for libzip4:i386 (1.0.1-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
So the 32 bit version is now removed
Then:
Go to pkgs.org: https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/libzip4_1.0.1-0ubuntu1_amd64.deb.html
Here you can download and manually install the 64 bit .deb package that apt-get either doesn't have or can't locate by name...
Finally Just run:
sudo apt-get install php-zip
The dependency issue is resolved and the plugin installs normally!
I've tried looking all over the internet for answers but there isn't anything helpful. I use "sudo apt install libzip5" but it gives me this error:
E: Unable to locate package libzip5
How do I approach this issue? If you need more information let me know. Thank you for your assistance.
I am triying to run an executable from a program I made in C++ but when I try to run it instead it gives me this message. (I have the package libzip-dev installed and it worked well before I recompiled the program)