problem with : caesaria.linux: error while loading shared libraries: libSDL-1.2.so.0: wrong ELF class: ELFCLASS64
Comments (13)
-
repo owner -
repo owner - changed status to on hold
Cannot fixed
-
It seems anyway that Caesaria needs i386 packages (if you use command ldd for caesaria.linux you can see it needs all the /usr/lib/i386-linux-gnu libraries, and not /usr/lib/x86_64-linux-gnu/ - maybe my understanding is incorrect, but I am not a linux guru)
So, what I found is installing i386 version of following libsdl packages solves the issue, however will automatically uninstall many programs that use normal version libsdl packages (like VLC Player).
For Ubuntu it is (I am using Kubuntu 14.04)
$sudo apt-get install libsdl2-2.0-0:i386 libsdl2-image-2.0-0:i386 libcurl3-gnutls:i386 libsdl2-mixer-2.0-0:i386 libmodplug1:i386
-
repo owner - changed status to open
-
repo owner i have no build for x64 system, but you can compile it yourself, or try install ia32-libs (ia32)
-
I followed compiling instructions found in https://bitbucket.org/dalerank/caesaria/wiki/Linux%20compile/install/run%20instuctions . My system is x64, but it even needs i386 packages instead of x64.
Do you plan to do the game for x64 also, is there something you need to add to the source code for x64 compatibility? - or my question has no sense at all...
-
repo owner strange behavior that ia32 remove anything ((( about x64, i think that not necessary any changes for x64 compatibility, but i'm not tested it
thanks, i fixed some positions in instructions...
-
You're right, I tested ia32 will not remove anything but will not give a solution, still got error message:
./caesaria.linux: error while loading shared libraries: libSDL2_mixer-2.0.so.0: cannot open shared object file: No such file or directory
-
It seems, libmodplug.so.1 => /usr/lib/libmodplug.so.1 is the main thing, that will remove vlc player. It is not located in a separated directory and so can not have an i386 and an x64 version in the same time, and so any change of its version will effect other programs.
-
repo owner - changed status to resolved
Fixed
-
Can we now play with x64 packages?
-
New x64 version is great, no need of any hack :-)
-
repo owner Thanks, it compiled with native x64 libs from travis-ci.org ))
- Log in to comment
I have no opportunity to test game on gentoo, there are problems with transfer of bin files between linux systems (ununtu->gentoo), game assembly on steps not really difficult https://bitbucket.org/dalerank/caesaria/wiki/Linux%20compile/install/run%20instuctions, is sure for 90% that you will success to compile game for your system, updater will download all necessary resources for work.
also if you will compile CaesarIA for Gentoo, you can upload it here, that other peoples can play game.
Thanks