- This topic has 2 replies, 1 voice, and was last updated 5 months ago by Pavel.
-
AuthorPosts
-
-
PavloGuest
Hello, I encountered an issue while installing Nginx. Here are the steps I followed:
`bash
sudo apt-get install nginx
sudo apt-get install libnginx-mod-http-fancyindex
sudo systemctl start nginx
`
However, the process ends with an error message: “error while loading shared libraries: libz-ng.so.2: cannot open shared object file: No such file or directory.”
I checked the status with
sudo dpkg --verify libz-ng2
, and it indicates a missing file:`
missing /usr/lib/libz-ng.so.2.1.4
`
The file
libz-ng.so.2.1.4
is not present in/usr/lib/
. Reinstalling thelibz-ng2
package usingsudo apt-get --reinstall install libz-ng2
did not yield any results. In the package archive/var/cache/apt/archives/libz-ng2_2.1.4-3myguard3~jammy_amd64.deb
, the filelibz-ng.so.2.1.4
has a size of 0.I would appreciate any guidance on resolving this issue.
Environment on which I run: Ubuntu 22.04.3 LTS jammy
-
Thijs EilanderKeymaster
Hi, thanks for your report, seems some symlinks are gone wrong.
Can you do sudo apt update && sudo apt-get –reinstall install libz-ng2?-
PavelGuest
Thanks, after the update everything works fine.
-
-
-
AuthorPosts