Error while loading shared libraries: libz.so.1: failed to map segment from shared object
Platform
Operating System: openSUSE Tumbleweed 20230731
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.6-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
Legendary version (legendary -V): latest available at 13/08/2023
Running with "-V" end with same error:
./legendary: error while loading shared libraries: libz.so.1: failed to map segment from shared object
Expected Behavior
To run Legendary
Current Behavior
Nothing happens, but if I launch from console, it shows mentioned error, and nothing more.
Steps to Reproduce
- From console "./legendary"
Additional info
I searched in openSUSE repositories some package named that way, but there is nothing similar to "libz.so"
A quick google suggests that you're missing zlib, which is available on SUSE (here)
Following your comment, I have gone deeper into this topic, since I was very surprised that the package whose link you include is not in the official repositories. After such a search, I realized that the module "libz.so.1" is indeed installed by default in any version of openSUSE. It is included in the package "libz1" (installed as I say by default) and it includes
/usr/lib64/libz.so.1
/usr/lib64/libz.so.1.2.13