this post was submitted on 17 May 2024
5 points (77.8% liked)

Arch Linux

7759 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
5
libz.so1 cannot open (lemmygrad.ml)
submitted 6 months ago* (last edited 6 months ago) by Putnik@lemmygrad.ml to c/archlinux@lemmy.ml
 

I want to run Undertale via Heroics Games Launcher but I get the error: ./runner: error while loading shared libraries: libz.so.1: cannot open shared objects file: No such file or directory.

I tried reinstalling zlib, pacman -Syu and reinstalling the Game.

For anyone having issues: lib32-openssl-1.0 is removed from the arch repos but its available in the AUR.

top 3 comments
sorted by: hot top controversial new old
[–] SpaceCadet@feddit.nl 3 points 6 months ago (1 children)

Perhaps it's a 32-bit application and it needs lib32-zlib.

What does ldd ./runner say?

[–] Putnik@lemmygrad.ml 1 points 6 months ago (1 children)

Yes its a 32-bit application. I also currently installed these packages: lib32-libxxf86vm lib32-libgl lib32-openal

It needs more packages still, shouldn't these libraries be included in multilib? I enabled the core, extra and multilib package in root folder /etc/pacman.conf. I updated the packages with -Syy and it shows that multilib is included. I also tried the testing ones. Do I need to install all these packages one by one?

[–] SpaceCadet@feddit.nl 2 points 6 months ago

Multilib packages aren't installed by default just by enabling the multilib repo, so yes you need to find the lib32 libraries your application needs and install them by hand.