I am currently porting my game from windows to Linux. Debian(home) and Fedora(uni). It builds fine however at run time is expecting error while loading shared libraries: libIL.so.1.
Firstly what is the .1 all about? I tried use placeing libIL.so and .1 next to the executable but that still had the same error. What do I do? – Bare in mind that I do not have root access on the Fedora machine.
Put
libIL.sointo the same directory as your executablemygame, then create a start-up script for your game, saymygame.sh:Now you can start your game from the command line using
./mygame.sh.edit: What I actually meant above was
LD_LIBRARY_PATHinstead ofLD_PRELOAD. Put all your libraries together with your executable and useLD_LIBRARY_PATH=., then the library loader will look in the current folder for all libraries it needs.