Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.
/usr/local/games/freeorion/application/freeorionca: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory
the problem is that I am running 64 bit Ubuntu and was trying to use the statically linked binary but the librairy is linked to /usr/lib32 and not to /usr/lib/ .
i have done a symlink to /usr/lib32 of my /usr/lib/libpython2.4.so.1.0 but it doesn't work, i get this error :
I am Symlink. Following into my targets basedir
CWD: /usr/local/games/freeorion/application
libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
[: 47: ==: unexpected operator
[: 56: ==: unexpected operator
/usr/local/games/freeorion/application/freeorionca: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
HumanClientApp::HandleMessage(HOST_SP_GAME)
/usr/local/games/freeorion/application/freeorionca: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
/usr/local/games/freeorion/application/freeorionca: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
/usr/local/games/freeorion/application/freeorionca: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
so i do a simlink to my /usr/lib/python2.5 to /usr/lib32/python2.5
but i get the same message :
No, thats not the case. The newer versions of my setup need python2.5, not 2.4 any more. But on x64 systems, that might still be a problem.
It seems that there's an error inside the wrapper-script "freeorion" at /usr/local/games/freeorion/freeorion - edit that file and replace each (double) == with a single = .
The script recognized that python2.5 is missing and tries to use a version inside the application directory.
You can quickly fix this problem by installing python2.5.
kroddn wrote:No, thats not the case. The newer versions of my setup need python2.5, not 2.4 any more. But on x64 systems, that might still be a problem.
It seems that there's an error inside the wrapper-script "freeorion" at /usr/local/games/freeorion/freeorion - edit that file and replace each (double) == with a single = .
I'll do that asap i get in front of my computer.
kroddn wrote:
The script recognized that python2.5 is missing and tries to use a version inside the application directory.
You can quickly fix this problem by installing python2.5.
freeorion-start
I am Symlink. Following into my targets basedir
CWD: /usr/local/games/freeorion/application
libpython2.5.so.1.0 => not found
python2.5 missing. Using shipped version.
PYTHONHOME=python2.5
HumanClientApp::HandleMessage(HOST_SP_GAME)
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc has bad mtime
import site # from python2.5/site.py
# can't create python2.5/site.pyc
# python2.5/os.pyc has bad mtime
import os # from python2.5/os.py
# can't create python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc has bad mtime
import posixpath # from python2.5/posixpath.py
# can't create python2.5/posixpath.pyc
# python2.5/stat.pyc has bad mtime
import stat # from python2.5/stat.py
# can't create python2.5/stat.pyc
# python2.5/UserDict.pyc has bad mtime
import UserDict # from python2.5/UserDict.py
# can't create python2.5/UserDict.pyc
# python2.5/copy_reg.pyc has bad mtime
import copy_reg # from python2.5/copy_reg.py
# can't create python2.5/copy_reg.pyc
# python2.5/types.pyc has bad mtime
import types # from python2.5/types.py
# can't create python2.5/types.pyc
import _types # builtin
# /usr/local/games/freeorion/application/python2.5/warnings.pyc has bad mtime
import warnings # from /usr/local/games/freeorion/application/python2.5/warnings.py
# can't create /usr/local/games/freeorion/application/python2.5/warnings.pyc
# /usr/local/games/freeorion/application/python2.5/linecache.pyc has bad mtime
import linecache # from /usr/local/games/freeorion/application/python2.5/linecache.py
# can't create /usr/local/games/freeorion/application/python2.5/linecache.pyc
import encodings # directory /usr/local/games/freeorion/application/python2.5/encodings
# /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc has bad mtime
import encodings # from /usr/local/games/freeorion/application/python2.5/encodings/__init__.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc
# /usr/local/games/freeorion/application/python2.5/codecs.pyc has bad mtime
import codecs # from /usr/local/games/freeorion/application/python2.5/codecs.py
# can't create /usr/local/games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc has bad mtime
import encodings.aliases # from /usr/local/games/freeorion/application/python2.5/encodings/aliases.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc
# /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc has bad mtime
import encodings.ascii # from /usr/local/games/freeorion/application/python2.5/encodings/ascii.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc has bad mtime
import site # from python2.5/site.py
# can't create python2.5/site.pyc
# python2.5/os.pyc has bad mtime
import os # from python2.5/os.py
# can't create python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc has bad mtime
import posixpath # from python2.5/posixpath.py
# can't create python2.5/posixpath.pyc
# python2.5/stat.pyc has bad mtime
import stat # from python2.5/stat.py
# can't create python2.5/stat.pyc
# python2.5/UserDict.pyc has bad mtime
import UserDict # from python2.5/UserDict.py
# can't create python2.5/UserDict.pyc
# python2.5/copy_reg.pyc has bad mtime
import copy_reg # from python2.5/copy_reg.py
# can't create python2.5/copy_reg.pyc
# python2.5/types.pyc has bad mtime
import types # from python2.5/types.py
# can't create python2.5/types.pyc
import _types # builtin
# /usr/local/games/freeorion/application/python2.5/warnings.pyc has bad mtime
import warnings # from /usr/local/games/freeorion/application/python2.5/warnings.py
# can't create /usr/local/games/freeorion/application/python2.5/warnings.pyc
# /usr/local/games/freeorion/application/python2.5/linecache.pyc has bad mtime
import linecache # from /usr/local/games/freeorion/application/python2.5/linecache.py
# can't create /usr/local/games/freeorion/application/python2.5/linecache.pyc
import encodings # directory /usr/local/games/freeorion/application/python2.5/encodings
# /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc has bad mtime
import encodings # from /usr/local/games/freeorion/application/python2.5/encodings/__init__.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc
# /usr/local/games/freeorion/application/python2.5/codecs.pyc has bad mtime
import codecs # from /usr/local/games/freeorion/application/python2.5/codecs.py
# can't create /usr/local/games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc has bad mtime
import encodings.aliases # from /usr/local/games/freeorion/application/python2.5/encodings/aliases.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc
# /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc has bad mtime
import encodings.ascii # from /usr/local/games/freeorion/application/python2.5/encodings/ascii.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc has bad mtime
import site # from python2.5/site.py
# can't create python2.5/site.pyc
# python2.5/os.pyc has bad mtime
import os # from python2.5/os.py
# can't create python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc has bad mtime
import posixpath # from python2.5/posixpath.py
# can't create python2.5/posixpath.pyc
# python2.5/stat.pyc has bad mtime
import stat # from python2.5/stat.py
# can't create python2.5/stat.pyc
# python2.5/UserDict.pyc has bad mtime
import UserDict # from python2.5/UserDict.py
# can't create python2.5/UserDict.pyc
# python2.5/copy_reg.pyc has bad mtime
import copy_reg # from python2.5/copy_reg.py
# can't create python2.5/copy_reg.pyc
# python2.5/types.pyc has bad mtime
import types # from python2.5/types.py
# can't create python2.5/types.pyc
import _types # builtin
# /usr/local/games/freeorion/application/python2.5/warnings.pyc has bad mtime
import warnings # from /usr/local/games/freeorion/application/python2.5/warnings.py
# can't create /usr/local/games/freeorion/application/python2.5/warnings.pyc
# /usr/local/games/freeorion/application/python2.5/linecache.pyc has bad mtime
import linecache # from /usr/local/games/freeorion/application/python2.5/linecache.py
# can't create /usr/local/games/freeorion/application/python2.5/linecache.pyc
import encodings # directory /usr/local/games/freeorion/application/python2.5/encodings
# /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc has bad mtime
import encodings # from /usr/local/games/freeorion/application/python2.5/encodings/__init__.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc
# /usr/local/games/freeorion/application/python2.5/codecs.pyc has bad mtime
import codecs # from /usr/local/games/freeorion/application/python2.5/codecs.py
# can't create /usr/local/games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc has bad mtime
import encodings.aliases # from /usr/local/games/freeorion/application/python2.5/encodings/aliases.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc
# /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc has bad mtime
import encodings.ascii # from /usr/local/games/freeorion/application/python2.5/encodings/ascii.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# python2.5/site.pyc has bad mtime
import site # from python2.5/site.py
# can't create python2.5/site.pyc
# python2.5/os.pyc has bad mtime
import os # from python2.5/os.py
# can't create python2.5/os.pyc
import errno # builtin
import posix # builtin
# python2.5/posixpath.pyc has bad mtime
import posixpath # from python2.5/posixpath.py
# can't create python2.5/posixpath.pyc
# python2.5/stat.pyc has bad mtime
import stat # from python2.5/stat.py
# can't create python2.5/stat.pyc
# python2.5/UserDict.pyc has bad mtime
import UserDict # from python2.5/UserDict.py
# can't create python2.5/UserDict.pyc
# python2.5/copy_reg.pyc has bad mtime
import copy_reg # from python2.5/copy_reg.py
# can't create python2.5/copy_reg.pyc
# python2.5/types.pyc has bad mtime
import types # from python2.5/types.py
# can't create python2.5/types.pyc
import _types # builtin
# /usr/local/games/freeorion/application/python2.5/warnings.pyc has bad mtime
import warnings # from /usr/local/games/freeorion/application/python2.5/warnings.py
# can't create /usr/local/games/freeorion/application/python2.5/warnings.pyc
# /usr/local/games/freeorion/application/python2.5/linecache.pyc has bad mtime
import linecache # from /usr/local/games/freeorion/application/python2.5/linecache.py
# can't create /usr/local/games/freeorion/application/python2.5/linecache.pyc
import encodings # directory /usr/local/games/freeorion/application/python2.5/encodings
# /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc has bad mtime
import encodings # from /usr/local/games/freeorion/application/python2.5/encodings/__init__.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/__init__.pyc
# /usr/local/games/freeorion/application/python2.5/codecs.pyc has bad mtime
import codecs # from /usr/local/games/freeorion/application/python2.5/codecs.py
# can't create /usr/local/games/freeorion/application/python2.5/codecs.pyc
import _codecs # builtin
# /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc has bad mtime
import encodings.aliases # from /usr/local/games/freeorion/application/python2.5/encodings/aliases.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/aliases.pyc
# /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc has bad mtime
import encodings.ascii # from /usr/local/games/freeorion/application/python2.5/encodings/ascii.py
# can't create /usr/local/games/freeorion/application/python2.5/encodings/ascii.pyc
HumanClientApp::HandleMessage(GAME_START)
HumanClientApp::HandleSaveGameDataRequest(SAVE_GAME)
Received save game data from player Happy_Player ... 0 orders received
Received save game data from player AI_4 ... 0 orders received
Received save game data from player AI_2 ... 0 orders received
Received save game data from player AI_3 ... 0 orders received
Received save game data from player AI_1 ... 0 orders received