I have a few different setups for gaming with Steam under Linux. They are either SteamOS or Gentoo and by default Warlock 2 does show up in my game list under Steam and installs. Although it will not execute properly.
Here is an error under SteamOS:
steam@steamos:~/.steam/steam/SteamApps/common/Warlock 2$ ./Game
./Game: error while loading shared libraries: libcurl.so.4: cannot open shared
object file: No such file or directory
Here is some of the output of an strace on ./Game
stat64("/usr/lib/cmov", 0xffcf5f40) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
writev(2, [{"./Game", 6}, {": ", 2}, {"error while loading shared libra"...,
36}, {": ", 2}, {"libcurl.so.4", 12}, {": ", 2}, {"cannot open shared object
file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}],
10./Game: error while loading shared libraries: libcurl.so.4: cannot open
shared object file: No such file or directory
) = 118
exit_group(127) = ?
steam@steamos:~/.steam/steam/SteamApps/common/Warlock 2$ ls -ld
/usr/lib/libcurl.so.4
ls: cannot access /usr/lib/libcurl.so.4: No such file or directory
The issue here with SteamOS is that it comes with a 64 bit libcurl.so.4 and it isn't located in /usr/lib .. it appears that other linux games under Steam get around this issue by shipping their own libcurl.so files and linking to them.
Under Gentoo I'm past that issue and actually have the game working. Here is another issue that had to be tackled:
psymin@localhost ~/.steam/steam/SteamApps/common/Warlock 2 $ ./Game
./Game: error while loading shared libraries: libfmodex-4.44.17.so: cannot
open shared object file: No such file or directory
And here is an strace of ./Game
open("/usr/lib32/libfmodex-4.44.17.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib32", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
writev(2, [{"./Game", 6}, {": ", 2}, {"error while loading shared libra"...,
36}, {": ", 2}, {"libfmodex-4.44.17.so", 20}, {": ", 2}, {"cannot open shared
object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}],
10./Game: error while loading shared libraries: libfmodex-4.44.17.so: cannot
open shared object file: No such file or directory
) = 126
exit_group(127) = ?
+++ exited with 127 +++
It appears that Warlock 2 is having another issue trying to link against a .so file that isn't installed on the system. This is an interesting issue because fmod isn't available in the SteamOS repository nor is it available in the Debian or Ubuntu repos. It is in the Gentoo portage tree, but the version is slightly too old. Again, other Steam games under linux get around this issue by shipping the fmod libs with their game files and linking against it.
To get it working under Gentoo I just downloaded fmodex 4.44.40 from the fmod website and copied libfmodex-4.44.40.so to /usr/lib32/libfmodex-4.44.17.so
Then the game appears to function correctly under linux
I'll test more under SteamOS next week
Here is an error under SteamOS:
steam@steamos:~/.steam/steam/SteamApps/common/Warlock 2$ ./Game
./Game: error while loading shared libraries: libcurl.so.4: cannot open shared
object file: No such file or directory
Here is some of the output of an strace on ./Game
stat64("/usr/lib/cmov", 0xffcf5f40) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libcurl.so.4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
writev(2, [{"./Game", 6}, {": ", 2}, {"error while loading shared libra"...,
36}, {": ", 2}, {"libcurl.so.4", 12}, {": ", 2}, {"cannot open shared object
file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}],
10./Game: error while loading shared libraries: libcurl.so.4: cannot open
shared object file: No such file or directory
) = 118
exit_group(127) = ?
steam@steamos:~/.steam/steam/SteamApps/common/Warlock 2$ ls -ld
/usr/lib/libcurl.so.4
ls: cannot access /usr/lib/libcurl.so.4: No such file or directory
The issue here with SteamOS is that it comes with a 64 bit libcurl.so.4 and it isn't located in /usr/lib .. it appears that other linux games under Steam get around this issue by shipping their own libcurl.so files and linking to them.
Under Gentoo I'm past that issue and actually have the game working. Here is another issue that had to be tackled:
psymin@localhost ~/.steam/steam/SteamApps/common/Warlock 2 $ ./Game
./Game: error while loading shared libraries: libfmodex-4.44.17.so: cannot
open shared object file: No such file or directory
And here is an strace of ./Game
open("/usr/lib32/libfmodex-4.44.17.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib32", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
writev(2, [{"./Game", 6}, {": ", 2}, {"error while loading shared libra"...,
36}, {": ", 2}, {"libfmodex-4.44.17.so", 20}, {": ", 2}, {"cannot open shared
object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}],
10./Game: error while loading shared libraries: libfmodex-4.44.17.so: cannot
open shared object file: No such file or directory
) = 126
exit_group(127) = ?
+++ exited with 127 +++
It appears that Warlock 2 is having another issue trying to link against a .so file that isn't installed on the system. This is an interesting issue because fmod isn't available in the SteamOS repository nor is it available in the Debian or Ubuntu repos. It is in the Gentoo portage tree, but the version is slightly too old. Again, other Steam games under linux get around this issue by shipping the fmod libs with their game files and linking against it.
To get it working under Gentoo I just downloaded fmodex 4.44.40 from the fmod website and copied libfmodex-4.44.40.so to /usr/lib32/libfmodex-4.44.17.so
Then the game appears to function correctly under linux
I'll test more under SteamOS next week