Night Nord wrote:
BTW, if you are experiencing troubles with X-libraries or gtk-2.0, you need to establish a loading path to steam directory.
It should be something like
${HOME}/.steam/bin/steam-runtime/i386/usr/lib/i386-linux-gnu/
So, launch your application with
Code: Select all
LD_LIBRARY_PATH="${HOME}/.steam/bin/steam-runtime/i386/usr/lib/i386-linux-gnu/" /path/to/app
Ah, I wasn't paying attention. I assumed without thinking that X3R_main and X3R_config were scripts because they initially worked in a terminal.
You're right, the missing libs do exist in the steam tree, but ...
Code: Select all
roger@BORIS:~/.steam/steam/SteamApps/common/X3 - Reunion$ export LD_LIBRARY_PATH="${HOME}/.steam/bin/steam-runtime/i386/usr/lib/i386-linux-gnu/"
roger@BORIS:~/.steam/steam/SteamApps/common/X3 - Reunion$ echo $LD_LIBRARY_PATH
/home/roger/.steam/bin/steam-runtime/i386/usr/lib/i386-linux-gnu/
roger@BORIS:~/.steam/steam/SteamApps/common/X3 - Reunion$ ./X3R_config
./X3R_config: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
roger@BORIS:~/.steam/steam/SteamApps/common/X3 - Reunion$ ./X3R_main
./X3R_main: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
roger@BORIS:~/.steam/steam/SteamApps/common/X3 - Reunion$
This lib is available as one of libs timon37 includes, and also as a lib in another part of the steam tree specific to my distribution.
And if I include that in the dynamic linker path, it cascades to another missing lib.
The steam runtime is certainly a tangled little web...I've never really bothered looking at their documentation, but perhaps I should try to understand it a little more.
@timon
Do Valve give you any form of environment setting script that you can use to ensure a consistent platform for running the X3 titles in a console? Obviously they set the environment themselves when games run from the Steam client.
I can see the benefit of Steam having a common library platform to overcome the version fragmentation of different distributions; but it means they either need to mirror everything in the linux dependency tree back as far as libc , or have to build in support for each specific distribution ( which is what I think they have done ).
It might not be important, of course, if there is no reason or expectation of running X3 games from a console except in testing.