• This topic has 2 replies, 1 voice, and was last updated 3 months ago by Pavel.
Viewing 1 reply thread
  • Author
    Posts
    • #4018 Reply
      Pavlo
      Guest

      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 the libz-ng2 package using sudo 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 file libz-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

    • #4019 Reply
      Thijs Eilander
      Keymaster

      Hi, thanks for your report, seems some symlinks are gone wrong.
      Can you do sudo apt update && sudo apt-get –reinstall install libz-ng2?

      • #4026 Reply
        Pavel
        Guest

        Thanks, after the update everything works fine.

Viewing 1 reply thread
Reply To: Missing libz-ng.so.2 in libz-ng2
Your information: