• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Moopli

Second Lieutenant
52 Badges
Aug 10, 2014
101
47
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Stellaris: Nemesis
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Cities: Skylines - Mass Transit
Couple of days ago (date of last save is monday nov 11), CK2 ran fine, mods and everything, in both the latest version (3.3 then too) and 3.2.1.

Now the launcher won't run, whether I try through steam or run the executable directly. I've verified the game cache already.

When I try the current version (3.3):
Code:
~/.local/share/Steam/steamapps/common/Crusader Kings II$ ./ck2
./ck2: error while loading shared libraries: libtbb.so.2: wrong ELF class: ELFCLASS32
~/.local/share/Steam/steamapps/common/Crusader Kings II$ file ck2
ck2: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 2.6.32, BuildID[sha1]=b607753701be927685ff9e784766ebf089a97432, stripped
~/.local/share/Steam/steamapps/common/Crusader Kings II$ file libtbb.so.2
libtbb.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, with debug_info, not stripped

Ok, looks like I need the 64-bit libtbb now, install:
Code:
~/.local/share/Steam/steamapps/common/Crusader Kings II$ sudo apt-get install libtbb2
(blah blah it succeeds)
~/.local/share/Steam/steamapps/common/Crusader Kings II$ ./ck2
terminate called after throwing an instance of 'CFileException'
Aborted (core dumped)

When I try 3.2.1:
Code:
~/.local/share/Steam/steamapps/common/Crusader Kings II$ ./ck2
./ck2: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
~/.local/share/Steam/steamapps/common/Crusader Kings II$ file ck2
ck2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 2.6.24, BuildID[sha1]=ccea5c0cc2d093ac796c472673c6aa3c60065e26, stripped
~/.local/share/Steam/steamapps/common/Crusader Kings II$ ls
'00_GET CK EXE.bat'    eula                      libtbbmalloc.so.2             sound
'00_GET LT EXE.bat'    events                    libtbb.so.2                   soundtrack
'00_GET RK EXE.bat'    gfx                       license-fi.txt                steamclient.so
 ChangeLog.txt         history                   localisation                  tbbmalloc.pdb
 ck2                   interface                 map                           tbbmalloc_proxy.pdb
 common                launcher                  mod                           tbb.pdb
 connectui             libpdx_online.so          music                         tutorial
 console_history.txt   libpops_api.so            nudge_check.bin               userdir.txt
 decisions             libsteam_api.so           open_source_license_notices
 dlc                   libsteam.so               pdx_browser
 dlc_metadata          libtbbmalloc_proxy.so.2   PDXBrowser_IPC.so

Turns out my libGLU is 64-bit:
Code:
$ whereis libGLU.so
libGLU: /usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGLU.a
$ file /usr/lib/x86_64-linux-gnu/libGLU.so
/usr/lib/x86_64-linux-gnu/libGLU.so: symbolic link to libGLU.so.1.3.1
$ file /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1
/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=c789b727ab7c9e9b10ea5421d7b2a9e4e0feaf51, stripped

Alright, how about I install it:
Code:
$sudo apt-get install libglu1-mesa:i386
(.... it succeeds)
$./ck2
./ck2: error while loading shared libraries: libuuid.so.1: cannot open shared object file: No such file or directory
$ sudo apt-get install libuuid1:i386
(it succeeds)
$ ./ck2
terminate called after throwing an instance of 'CFileException'
Aborted (core dumped)

I'm not sure which version of these dependencies it was linked against, I suspect there's a version conflict now. My versions of the given dependencies, for the record:
Code:
$ dpkg -l libglu1-mesa:i386 libuuid1:i386 libtbb2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version        Architecture   Description
+++-===================-==============-==============-===========================================
ii  libglu1-mesa:i386   9.0.0-2.1build i386           Mesa OpenGL utility library (GLU)
ii  libtbb2:amd64       2017~U7-8      amd64          parallelism library for C++ - runtime files
ii  libuuid1:i386       2.31.1-0.4ubun i386           Universally Unique ID library

I've attached the exceptions log from trying to run the current version (3.3) to this post.
 

Attachments

  • exceptions.log
    6,4 KB · Views: 3
Last edited:
Alright well that was weird. Steam didn't have write permissions on the files to properly update (for example, overwriting libraries). Fixed that, verified the game cache, it overwrote what it had to overwrite, and it runs now.
 
I took another look and it was actually that the partition (with CK2 on it) got mounted in read-only mode, and one of the things I did yesterday was remount, which I didn't think did anything. A symlink and mounting on startup had worked before, but since it was mounting read-only yesterday, updates didn't work properly. Now I've moved the files back to the home partition (made space, etc etc). Everything in `.paradoxinteractive` has permission 755.