Steamをインストール
ログイン
|
言語
简体中文(簡体字中国語)
繁體中文(繁体字中国語)
한국어 (韓国語)
ไทย (タイ語)
български (ブルガリア語)
Čeština(チェコ語)
Dansk (デンマーク語)
Deutsch (ドイツ語)
English (英語)
Español - España (スペイン語 - スペイン)
Español - Latinoamérica (スペイン語 - ラテンアメリカ)
Ελληνικά (ギリシャ語)
Français (フランス語)
Italiano (イタリア語)
Bahasa Indonesia(インドネシア語)
Magyar(ハンガリー語)
Nederlands (オランダ語)
Norsk (ノルウェー語)
Polski (ポーランド語)
Português(ポルトガル語-ポルトガル)
Português - Brasil (ポルトガル語 - ブラジル)
Română(ルーマニア語)
Русский (ロシア語)
Suomi (フィンランド語)
Svenska (スウェーデン語)
Türkçe (トルコ語)
Tiếng Việt (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
@test: you aren't helping
@theRandom: The short answer to your problem has been stated above. You're missing some dependencies. Ensuring binaries work across Linux distributions isn't the easiest task, I know. The best bet to minimize the risk of this happening in the future is for you to test running your game from the Steam flatpak. This is for two reasons:
1. Anyone on Linux can run a flatpak. See here for a compatibility list: https://www.flatpak.org/setup/
2. When you run Steam as a flatpak it's shielded from the outside operating system (the application is basically running inside a container sandbox). This means that the current issue would have been avoided since my guess is that the game ran fine at your end because the Loop Hero executable loaded the libnghttp2.so.14 and librtmp.so.1 libraries from your host OS. Had you tested inside the Steam flatpak you'd have exposed the issue before deploying. :)
When I tested inside the flatpak (with and without your added vendored libs) I got this:
```shell
# Without your vendored libraries
[📦 com.valvesoftware.Steam Loop Hero]$ ldd ./Loop_Hero | grep not
libGLU.so.1 => not found
# With your vendored libraries
[📦 com.valvesoftware.Steam Loop Hero]$ LD_LIBRARY_PATH="./assets/linuxlibs/:/usr/lib" ldd ./Loop_Hero | grep not
libGLU.so.1 => not found
libnghttp2.so.14 => not found
librtmp.so.1 => not found
libgssapi_krb5.so.2 => not found
libldap_r-2.4.so.2 => not found
liblber-2.4.so.2 => not found
[📦 com.valvesoftware.Steam Loop Hero]$
```
What you need to do is basically:
1. vendor `libGLU.so.1`
2. vendor your other libraries properly. This means that you need to ensure that the whole dependency chain is satisfied, that is all dependencies of dependencies are satisfied.
3. ensure that you set up a testing procedure for Linux to avoid these issues in the future!
My personal workaround was to create a `workaround.sh` that is like your `run.sh` that just updates LD_LIBRARY_PATH to a `./workaround/` directory where I put `libGLU.so.1` and then it runs fine.
With all this said, it looks like you've managed to make one hell of a game and once you solve these dependency and linking issues I will happily recommend Loop Hero to all my friends! ♥
@devs: the issue can be solved on your end without too much effort by adding all the required libs to game files and testing with flatpak steam as described in the github issue above.
maybe I should try to force compatibility layer PROTON for this game instead of NATIVE run ... SUCCESS: it works that way :-) That's silly.
When I went to the game dir and tried to run it, I got:
./Loop_Hero: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
To fix I installed the missing package with: yay -S openssl-1.1
Good luck everyone!
Get the latest version of libcrypto.so.1.1:
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.18_amd64.deb
Install it.
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.18_amd64.deb
If this throws 404 error, above may be outdated. Latest version can be found here: http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/?C=M;O=D
search for "libssl1.1_1.1.1f-1ubuntu2."
"Play" may still not work, but the game runs when starting it via terminal:
'/home/<USER>/.steam/debian-installation/steamapps/common/Loop Hero/Loop_Hero'
copy libnghttp2.so.14 and librtmp.so.1 from your system
This is still the best answer.
The game is missing libraries, which will be different based on each person's machine. If you try to execute the game via a terminal it will inform you what library is missing. A quick online search or a GPT prompt will inform you which package should be installed to provide that missing library.
In my case, I'm on Debian 12 and I installed Steam via their latest .deb download. Opening Loop Hero in my terminal showed I needed to install two packages:
- libssl1.1 (may require adding legacy sources)
- libldap-2.4-2
Once those packages were installed, the game booted up just fine.
libssl1.1 instalation helped. (https://stackoverflow.com/questions/42828083/error-while-loading-shared-libraries-usr-local-lib64-libssl-so-1-1/75633090#75633090)
But game launches only from the installation directory, not from launcher. But it works.