Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Amnesia needs libfltk == 1.1 (current is 1.3)
Author Message
breversa Offline
Junior Member

Posts: 2
Joined: Aug 2011
Reputation: 0
Post: #1
Bug [SOLVED] Amnesia needs libfltk == 1.1 (current is 1.3)
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 :
$>/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+...
(This post was last modified: 08-18-2011 08:33 PM by breversa.)
08-18-2011 05:39 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #2
RE: Amnesia needs libfltk == 1.1 (current is 1.3)
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.

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
08-18-2011 06:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
breversa Offline
Junior Member

Posts: 2
Joined: Aug 2011
Reputation: 0
Post: #3
RE: Amnesia needs libfltk == 1.1 (current is 1.3)
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 ! :-)
08-18-2011 08:32 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)