Linux の Steam で DirtRally1 を動かすには?2024年

ショコラ
ショコラ

Linux の Steam で DirtRally1 を動かすには?2024年

Kubuntu の Steam で DirtRally1 が起動できません。

Windows10 なら起動できるので今まで本気で解決しようとは思いませんでしたが、

今回この問題を解決したいと思います。
(steam に windows版 の DirtRally1 がインストールできれば問題ないみたいですけど、これも調査したいです)

⇒ どうも libssl1 と libcrypto1 を入れないといけないようです。
 Kubuntu に入っているものがバージョンが上みたいなのです。

もっさん先輩
もっさん先輩

steam をターミナルから起動すると、ログがみれるようになりました。
その前にログファイルを確認しましたが、ログファイルはいくつもできるので、どれにエラーが書いてあるのか分かりませんでした。
Dirt Rally を起動したところ、どうもこの箇所↓でエラーがでているようです。

ということで
openssl.org から openssl-1 の最終バージョンを取得しコンパイルします。
soのライブラリが欲しいので、config に sharedオプション をつけます。

wget https://www.openssl.org/source/old/1.0.0/openssl-1.0.0s.tar.gz
tar zxvf openssl-1.0.0s.tar.gz
cd openssl-1.0.0s
./config shared
make

libssl と libcrypto を DirRally の x86_64 のディレクトリにコピーします。
(ヒント)SteamLibrary/steamapps/common/DiRT Rally/lib/x86_64/

cp libssl.so.1.0.0 [DirRally の x86_64 のディレクトリ]
cp libcrypto.so.1.0.0 [DirRally の x86_64 のディレクトリ]

あと x86_64/lib から libにリンクをはる。コピーでもOK。

cd "/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/lib"
ln -s x86_64/lib/* .

これで DirtRally1 が起動するようになりました。

後日、できなくなっていることに気がついた。(Linux のあるある)

/bin/sh\0-c\0/home/mossan/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=310560 -- /home/mossan/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh'\0
chdir "/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally"
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 9: [: /home/mossan/.local/share/Steam/ubuntu12_32/steam-runtime: unexpected operator
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 17230 != 17229, skipping destruction (fork without exec?)
pid 17233 != 17229, skipping destruction (fork without exec?)
pid 17237 != 17229, skipping destruction (fork without exec?)
pid 17236 != 17229, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mossan/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libssl.so.1.0.0: no version information available (required by /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally)
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libcrypto.so.1.0.0: no version information available (required by /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally)
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libssl.so.1.0.0: no version information available (required by /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libcurl.so.4)
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libssl.so.1.0.0: no version information available (required by /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libcurl.so.4)
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libcrypto.so.1.0.0: no version information available (required by /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libcurl.so.4)
DirtRally: crash reporter initialised with path "/home/mossan/.local/share/feral-interactive/DiRT Rally/crashes"
SDL2 initialised [built against 2.0.5, running with 2.0.5]
Setting breakpad minidump AppID = 310560
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198255366746 [API loaded no]
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally: symbol lookup error: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/bin/../lib/libcurl.so.4: undefined symbol: SSL_CTX_set_next_proto_select_cb, version OPENSSL_1.0.1
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 10: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[1]=SIGHUP(1): Program Hangup (GPU driver issue?): not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 11: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[2]=SIGINT(2): Program Interrupted: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 12: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[4]=SIGILL(4): Illegal instruction, check your CPU meets minimum requirements: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 13: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[6]=SIGABRT(6): Program Aborted: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 14: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[8]=SIGFPE(8): Floating-point exception, check your CPU meets minimum requirements: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 15: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[9]=SIGKILL(9): Program killed: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 16: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[11]=SIGSEGV(11): Segmentation fault: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 17: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[13]=SIGPIPE(13): Broken pipe, check networking: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 18: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[15]=SIGTERM(15): Program terminated: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 19: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[20]=SIGPWR(20): Program received power down signal: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 20: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: SIGNAL_MESSAGE[31]=SIGSYS(31): Bad system call: not found
/media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/DirtRally.sh: 22: /media/mossan/HDD2/SteamLibrary/steamapps/common/DiRT Rally/config/post-run-check.sh: Bad substitution
Game 310560 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 310560 created interface STEAMAPPS_INTERFACE_VERSION007 / Apps
Game 310560 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_003 / HTMLSurface
Game 310560 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 310560 created interface STEAMINVENTORY_INTERFACE_V001 / Inventory
Game 310560 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 310560 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 310560 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION013 / RemoteStorage
Game 310560 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
Game 310560 created interface STEAMUGC_INTERFACE_VERSION007 / UGC
Game 310560 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 310560 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 310560 created interface STEAMVIDEO_INTERFACE_V001 / Video
Game 310560 created interface SteamController003 / Controller
Game 310560 created interface SteamFriends015 / Friends
Game 310560 created interface SteamMatchMaking009 / Matchmaking
Game 310560 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 310560 created interface SteamNetworking005 / Networking
Game 310560 created interface SteamUser018 / User
Game 310560 created interface SteamUtils007 / Utils
Game 310560 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 310560 method call count for IClientUtils::RecordSteamInterfaceCreation : 20
Game 310560 method call count for IClientUtils::SetOverlayNotificationPosition : 1
Game 310560 method call count for IClientUtils::GetAppID : 21
Game 310560 method call count for IClientUser::GetUserDataFolder : 1
Game 310560 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam

「libcurl.so.4: undefined symbol: SSL_CTX_set_next_proto_select_cb, version OPENSSL_1.0.1」が引っかかったので、openssl-1.0.0s.tar.gz に変更したところ動きました。

wget https://ftp.openssl.org/source/old/1.0.1/openssl-1.0.1u.tar.gz
tar zxvf openssl-1.0.1u.tar.gz 
cd openssl-1.0.1u
./config shared
make

以上

Scroll to Top