Bad LD_LIBRARY_PATH in freeorion

Bug #1366526 reported by launchy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
freeorion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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} "$@"

Tags: freeorion
launchy (launchy-p)
tags: added: freeorion
Vlad Orlov (monsta)
affects: linuxmint → freeorion (Ubuntu)
Revision history for this message
Markus Koschany (apoleon) wrote :

That's a duplicate of https://bugs.launchpad.net/ubuntu/+source/freeorion/+bug/1292308

This is already fixed in the latest version of FreeOrion in Ubuntu 14.04. Please ask the developers of Linux Mint to sync the package.

Changed in freeorion (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.