Frictional Games Forum (read-only)
[SOLVED] Amnesia needs libfltk == 1.1 (current is 1.3) - 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: [SOLVED] Amnesia needs libfltk == 1.1 (current is 1.3) (/thread-9851.html)



[SOLVED] Amnesia needs libfltk == 1.1 (current is 1.3) - breversa - 08-18-2011

Hi there,

When I purchased Amnesia in december 2010, it ran flawlessly on my Linux box (OpenSUSE 11.3 x86_64).

However, when I started it again today, it failed to launch with the following error :
Code:
$>/usr/local/games/Amnesia> ./Launcher.bin64
./Launcher.bin64: error while loading shared libraries: libfltk.so.1.1: cannot open shared object file: No such file or directory

I checked my libfltk version, which had actually been upgraded to 1.3 inbetween. Downgrading to 1.1 solved the problem, but I'm concerned : won't Amnesia fail to run on current/newer distributions because of this ?

Can it be patched so that it requires "libfltk >= 1.1" instead of "== 1.1" ? Otherwise, it may conflict with more recent applications that would require 1.3+...


RE: Amnesia needs libfltk == 1.1 (current is 1.3) - Urkle - 08-18-2011

First, fltk 1.1 is not binary compatible with fltk 1.3. so doing a >= won't work..

What you can do is upgrade your system FLTK to 1.3, and then run the "checklibs64.sh" script that is in the game directory.

This will re-scan your system for libraries and if your system does not provide a certain library it will link it in from the Amnesia/lib64/all folder (as included in the distribution is libfltk.so.1.1)

This script is automatically run when you install the game, so re-installing the game would seem to magically "solve" the problem.

Now, the reason for not always using the game provided libraries is that more often the system libraries work better.. This is especially true for SDL and openal.




RE: Amnesia needs libfltk == 1.1 (current is 1.3) - breversa - 08-18-2011

Hi Urkle, and thanks for your quick reply. :-)

I didn't know that 1.1 and 1.3 were not compatible, but re-running the checklibs64.sh after upgrading to 1.3 does fix the problem. Thanks ! :-)