First try running ldconfig command to recreate links e and libraries cache. As you said that file already exists may you need only a refresh.
$ sudo ldconfig
$ ./futurerestore_linux ...
If this not work you could use ldd command to list all shared libraries of this program.
$ ldd futurerestore_linux
check where libzip.so.2 appears, note also the common path for others libraries. In my case was something like:
libzip.so.2 => not found
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fbaf8313000) ...
So I tried find libzip.so.4 with
$ ls -la /usr/lib/x86_64-linux-gnu/libzip*.*
there was libzip.so.4 and libzip.so but no signal of version 2. so I tried creating a link and its worked.
$ sudo ln -s libzip.so /usr/lib/x86_64-linux-gnu/libzip.so.2
$ sudo ldconfig
Answer from Diogo Alves on askubuntu.comFirst try running ldconfig command to recreate links e and libraries cache. As you said that file already exists may you need only a refresh.
$ sudo ldconfig
$ ./futurerestore_linux ...
If this not work you could use ldd command to list all shared libraries of this program.
$ ldd futurerestore_linux
check where libzip.so.2 appears, note also the common path for others libraries. In my case was something like:
libzip.so.2 => not found
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fbaf8313000) ...
So I tried find libzip.so.4 with
$ ls -la /usr/lib/x86_64-linux-gnu/libzip*.*
there was libzip.so.4 and libzip.so but no signal of version 2. so I tried creating a link and its worked.
$ sudo ln -s libzip.so /usr/lib/x86_64-linux-gnu/libzip.so.2
$ sudo ldconfig
You have to install libzip.
Maybe try the command:
sudo apt install libzip4
Also I had to install libcurl to get the program to work.
sudo apt install libcurl3
fedora - mysql-workbench error while loading shared libraries (libzip.so.2) - Unix & Linux Stack Exchange
How do I deal with this error: "error while loading shared libraries: libzip.so.4: cannot open shared object file: No such file or directory"?
libzip package issues on Ubuntu 20.04
encryption - How to update Libzip to 1.2 on ubuntu 18.04 and PHP 7.2 - Stack Overflow
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)