problem with : caesaria.linux: error while loading shared libraries: libSDL-1.2.so.0: wrong ELF class: ELFCLASS64

Issue #78 resolved
Former user created an issue

Comments (13)

  1. dalerank repo owner

    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

  2. Nevem Nem

    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

  3. dalerank repo owner

    i have no build for x64 system, but you can compile it yourself, or try install ia32-libs (ia32)

  4. dalerank 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...

  5. Nevem Nem

    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

  6. Nevem Nem

    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.

  7. Log in to comment