Posted January 09, 2015
So I was installing Warband on openSUSE, and ran into some library requirement issues. Here's a short post on how to get it running.
The required libraries are as follows:
- libGLEW.so.1.10
Install libGLEW1_13-32bit. The game requires 1.10 however, and the distribution provides 1.13, so spoof the version by symlinking it next to the game executable like this
ln -s /usr/lib/libGLEW.so.1.13.0 libGLEW.so.1.10
(This is done in a console in the game folder)
- libSDL2-2.0.so.0
Install libSDL2-2_0-0-32bit.
- libcurl-gnutls.so.4
See below.
- libfmodex.so
- libstdc++.so.6
- libm.so.6
- libgcc_s.so.1
- libc.so.6
- libGL.so.1
- libpthread.so.0
You probably have these installed already. If not and the game complains about them, install the corresponding packages from yast. To find them easily, look by the .so name and set the filter to 'Package Provides'.
And now we get to libcurl. Since it's not in the official repositories, I had to build it myself.
1) Obtain the source from curl.haxx.se/download.html
2) Extract the archive and open a console there
(if you're running a 64-bit OS, install gcc-32bit and do
export CC="gcc -m32"
export CXX="g++ -m32"
in the console)
3) Build using
./configure --without-ssl --with-gnutls
make
4) obtain produced libcurl from lib/.libs/, place it next to game executable, and rename it to libcurl-gnutls.so.4
This should satisfy the lib requirements for libcurl. To run the game, you can use
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" ./mb_warband_linux
Alternatively, the executable can be patched to find the libraries placed next to it by changing the rpath like this: (Package chrpath is required)
chrpath -r '$ORIGIN' mb_warband_linux
Hope this helps anyone having trouble running the game.
The required libraries are as follows:
- libGLEW.so.1.10
Install libGLEW1_13-32bit. The game requires 1.10 however, and the distribution provides 1.13, so spoof the version by symlinking it next to the game executable like this
ln -s /usr/lib/libGLEW.so.1.13.0 libGLEW.so.1.10
(This is done in a console in the game folder)
- libSDL2-2.0.so.0
Install libSDL2-2_0-0-32bit.
- libcurl-gnutls.so.4
See below.
- libfmodex.so
- libstdc++.so.6
- libm.so.6
- libgcc_s.so.1
- libc.so.6
- libGL.so.1
- libpthread.so.0
You probably have these installed already. If not and the game complains about them, install the corresponding packages from yast. To find them easily, look by the .so name and set the filter to 'Package Provides'.
And now we get to libcurl. Since it's not in the official repositories, I had to build it myself.
1) Obtain the source from curl.haxx.se/download.html
2) Extract the archive and open a console there
(if you're running a 64-bit OS, install gcc-32bit and do
export CC="gcc -m32"
export CXX="g++ -m32"
in the console)
3) Build using
./configure --without-ssl --with-gnutls
make
4) obtain produced libcurl from lib/.libs/, place it next to game executable, and rename it to libcurl-gnutls.so.4
This should satisfy the lib requirements for libcurl. To run the game, you can use
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" ./mb_warband_linux
Alternatively, the executable can be patched to find the libraries placed next to it by changing the rpath like this: (Package chrpath is required)
chrpath -r '$ORIGIN' mb_warband_linux
Hope this helps anyone having trouble running the game.
Post edited January 05, 2016 by Amy_Stryke