Sword of the Necromancer missing libraries

オープン
#729 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
linux, shell

調査の方向性

まず slr-app1243890-t20241217T152612.log とレポートに記載されている SteamLinuxRuntime VERSIONS.txt ファイルを確認し、その後 Steam Linux Runtime 1.0 で app 1243890 を再現します。不足しているライブラリを runtime の内容と比較し、ライブラリをゲームの lib ディレクトリにコピーせずにゲームを起動できるかどうかを記録してください。

索引モデルが issue の本文から書いたものです。

説明

Your system information
  • Steam Runtime Version: 1.0 (scout)
  • Distribution (e.g. Ubuntu 18.04): Linux Mint 22
  • Link to your full system information: https://gist.github.com/michaelneverwins/19fa4e92e4cbb7b957b343c838006eb9
  • Have you checked for system updates?: Yes
  • What compatibility tool are you using?: default [Steam Linux Runtime 1.0 (scout)]
  • What versions are listed in steamapps/common/SteamLinuxRuntime/VERSIONS.txt?
    #Name	Version		Runtime	Runtime_Version	Comment
    depot	0.20240806.0			# Overall version number
    LD_LIBRARY_PATH	-	scout	-	# see ~/.steam/root/ubuntu12_32/steam-runtime/version.txt
    scripts	0.20240806.0			# from steam-runtime-tools
    
    • Contents of ~/.steam/root/ubuntu12_32/steam-runtime/version.txt:
      steam-runtime_0.20241024.105847
      
  • What versions are listed in steamapps/common/SteamLinuxRuntime_soldier/VERSIONS.txt?
    #Name	Version		Runtime	Runtime_Version	Comment
    depot	0.20241118.108551			# Overall version number
    pressure-vessel	0.20241118.0	scout		# pressure-vessel-bin.tar.gz
    scripts	0.20241118.0			# from steam-runtime-tools
    soldier	0.20241118.108551	soldier	0.20241118.108551	# soldier_platform_0.20241118.108551/
    
  • What versions are listed in steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt?
    #Name	Version		Runtime	Runtime_Version	Comment
    depot	0.20241118.108552			# Overall version number
    pressure-vessel	0.20241118.0	scout		# pressure-vessel-bin.tar.gz
    scripts	0.20241118.0			# from steam-runtime-tools
    sniper	0.20241118.108552	sniper	0.20241118.108552	# sniper_platform_0.20241118.108552/
    
Please describe your issue in as much detail as possible:

Apologies if this isn't considered a bug, but Sword of the Necromancer (app ID 1243890) fails to run because it can't find some libraries. The initial complaint is about librtmp.so.1 as shown in my SLR log (slr-app1243890-t20241217T152612.log), but when I provided that library, it then failed to find libhogweed.so.6, and then libnettle.so.8. All three of these libraries are installed on my system, under /lib/x86_64-linux-gnu, and simply copying them into the game's lib folder

cp /lib/x86_64-linux-gnu/librtmp.so.1 ~/.steam/root/steamapps/common/SwordOfTheNecromancer/lib/
cp -L /lib/x86_64-linux-gnu/libhogweed.so.6 ~/.steam/root/steamapps/common/SwordOfTheNecromancer/lib/
cp -L /lib/x86_64-linux-gnu/libnettle.so.8 ~/.steam/root/steamapps/common/SwordOfTheNecromancer/lib/

did get the game to run. I don't know much about Steam Linux Runtime, but I assume it prevents the game's use of system libraries (by design and thus not a bug), which in this case breaks the game because SLR does not supply these libraries (maybe a bug). The only solution without workarounds is probably for these libraries to be added to Steam Linux Runtime, but I do understand that it's probably just not going to happen if this turns out to be the only one of Steam's two-hundred-thousand-something games that requires them.

Note that forcing Steam not to run the game in SLR would not actually help in this case, because the game also requires some libraries which are not provided by Linux Mint but are provided by SLR — such as, for example, libcrypto.so.1.1 and libssl.so.1.1. (This actually seems like a bug in the game itself, considering that it ships with libcrypto.so.1.0.0 and libssl.so.1.0.0 instead, but whatever. Even if simply disabling SLR were a viable workaround, we would still want the game to work with SLR anyway because it's the default now.)

Steps for reproducing this issue:
  1. Install Sword of the Necromancer (app ID 1243890).
  2. Leave the default compatibility tool, Steam Linux Runtime 1.0 (scout).
  3. Try to run the game.
主要言語
Shell
スター
1.5k
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/steam-runtime のほかの issue

ValveSoftware/steam-runtime の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。