Frictional Games Forum (read-only)
can't get Amnesia to run (missing libalut.so.0) - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: can't get Amnesia to run (missing libalut.so.0) (/thread-6734.html)



can't get Amnesia to run (missing libalut.so.0) - 3dfx - 02-27-2011

I switch to sabayon from ubuntu a ways back
and ever since I can play Amnesia

when I go to start the game I git this
Quote:./Amnesia.bin64: error while loading shared libraries: libalut.so.0: wrong ELF class: ELFCLASS32

ok so then I looked in the sabayon package manager for libalut.so.0
and it dose not have it
so then I Googled it and I can't find it ether

any one know were I can get it
and how to install it


RE: can't get Amnesia to run (missing libalut.so.0) - Urkle - 02-28-2011

did you copy the game over from another system? or did you reinstall from scratch?

You can try running the "checklibs64.sh" that is in the game install directory so it will "relink" the included libs. (as libalut.so.0 is included)

It seems the issue you have is the libalut is a 32bit libalut instead of a 64bit libalut. libalut is usually part of the "freealut" package.

If the checklibs script doesn't work then it's probably confused by the fact that you have libalut somewhere in the library path and the linker is incorrectly pulling the 32bit lib for the 64bit application. You'll need to hunt that down and remove it. Or manually link the library.
Code:
cd /path/to/Amnesia/libs64/
ln -s all/libalut.so.0 libalut.so.0