Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while loading shared libraries: libz.so.1: failed to map segment from shared object #593

Open
RafaelLinux opened this issue Aug 13, 2023 · 2 comments

Comments

@RafaelLinux
Copy link

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

  1. From console "./legendary"

Additional info

I searched in openSUSE repositories some package named that way, but there is nothing similar to "libz.so"

@CommandMC
Copy link
Contributor

A quick google suggests that you're missing zlib, which is available on SUSE (here)

@RafaelLinux
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants