You have been subscribed to a public bug:

The freeorion game (from the freeorion package) won't start on Linux
Mint 17 'Qiana' on x86-64. (Expected: It runs ;-)) Trying to run it from
a terminal gives:

$ freeorion 
CWD: /usr/share/games/freeorion
main() caught exception(std::exception): OGRE 
EXCEPTION(7:InternalErrorException): Could not load dynamic library 
RenderSystem_GL.  System Error: RenderSystem_GL.so: cannot open shared object 
file: No such file or directory in DynLib::load at 
/build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreDynLib.cpp (line 93)

RenderSystem_GL.so is in the libogre package, which is installed, but
it's not found because the dynamic linker doesn't know how to find it.

Suggested fix for the runner script in /usr/games/freeorion:

--- /usr/games/freeorion.orig   2014-09-07 14:40:24.053427513 +0200
+++ /usr/games/freeorion        2014-09-07 14:41:28.905427443 +0200
@@ -8,6 +8,7 @@
 pwd
 
 DATAPATH="--resource-dir /usr/share/games/freeorion/default"
+OGREPATH="/usr/lib/x86_64-linux-gnu/OGRE-1.8.0"
 
-LD_LIBRARY_PATH="/usr/lib/freeorion:${LD_LIBRARY_PATH}" \
+LD_LIBRARY_PATH="/usr/lib/freeorion:${OGREPATH}:${LD_LIBRARY_PATH}" \
 /usr/lib/freeorion/freeorion ${DATAPATH} "$@"

** Affects: freeorion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: freeorion
-- 
Bad LD_LIBRARY_PATH in freeorion
https://bugs.launchpad.net/bugs/1366526
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to