• 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.

jabranham

Recruit
39 Badges
Sep 24, 2019
3
0
  • Stellaris: Apocalypse
  • Tyranny: Archon Edition
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines Industries
  • Europa Universalis IV: Wealth of Nations
  • Magicka
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Cities in Motion 2
  • Stellaris
Hi there -

Since the Manchu update EU4 crashes at launch for me on linux. When launched through Steam, I get this error:


ERROR: ld.so: object '/home/games/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/games/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.


If I try to launch the game directly I get this:


[games@earth:~/.local/share/Steam/steamapps/common/Europa Universalis IV]$ ./eu4
bash: ./eu4: No such file or directory


even though the file exists and has correct permissions set (e.g. is executable). If I try to launch it another way I get:


[games@earth:~/.local/share/Steam/steamapps/common/Europa Universalis IV]$ bash eu4
eu4: eu4: cannot execute binary file
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.054
4.613
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
Did you already try the workaround to change the launch options in steam to
Code:
LD_PRELOAD=/usr/lib/libc.so.6 %command%
You may have to specify the path where libc.so.6 is on your system. But it probably doesn't matter. For me
Code:
LD_PRELOAD= %command%
also works
BTW: "bash eu4" can't work, because it is not a bash/shell script. But it is very weird that ./eu4 gives you No such file or directory.
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.054
4.613
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
If I try to launch the game directly I get this:

[games@earth:~/.local/share/Steam/steamapps/common/Europa Universalis IV]$ ./eu4
bash: ./eu4: No such file or directory
Now I remembered where I have seen this error before. It can happen if you are missing a required system library. What is the output of "ldd eu4"? If ldd gives something like "not found", you are probably missing some libraries. Or you are on a 32-bit system. The new eu4 version requires a 64-bit OS.
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.054
4.613
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
Do you still get "No such file or directory" if you try to run ./eu4? There have been a few updates since you started this thread. If you changed the launch options because of my first comment, you should undo that, because that bug was fixed.
Can you post the output of "ldd eu4"?
Did you already try the usual troubleshooting steps of uninstalling/reinstalling eu4 and verifying the game files in steam? You can also post in the Technical support forum to get help from the paradox support staff.
 

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.356
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV

jabranham

Recruit
39 Badges
Sep 24, 2019
3
0
  • Stellaris: Apocalypse
  • Tyranny: Archon Edition
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines Industries
  • Europa Universalis IV: Wealth of Nations
  • Magicka
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Cities in Motion 2
  • Stellaris
> Do you still get "No such file or directory" if you try to run ./eu4?

Yes

> Did you already try the usual troubleshooting steps of uninstalling/reinstalling eu4 and verifying the game files in steam?

Yes, done all that a few times.

This is the output of running ldd on the executable (removed the found ones), though installing the libraries doesn't help:

libX11.so.6 => not found
libGLU.so.1 => not found
libGL.so.1 => not found
libstdc++.so.6 => not found
libz.so.1 => not found
libuuid.so.1 => not found
libstdc++.so.6 => not found
 

AndrewT

The Full Monty Python
Moderator
116 Badges
Jun 29, 2001
85.356
3.594
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Gettysburg
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Europa Universalis IV: Conquest of Paradise
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Stellaris: Necroids
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
@grotaclas I hope you ca help here because I have no clue!
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.054
4.613
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
This is the output of running ldd on the executable (removed the found ones), though installing the libraries doesn't help:

libX11.so.6 => not found
libGLU.so.1 => not found
libGL.so.1 => not found
libstdc++.so.6 => not found
libz.so.1 => not found
libuuid.so.1 => not found
libstdc++.so.6 => not found
Are you sure that you have the 64bit version of these libraries? If you only have the 32bit versions, you have to install the 64bit version of the libraries.

If you already have the 64bit versions, your dynamic linker can't find them for some reason. Which is weird, because some of them are used by many programs and would prevent them from running. Do you have problems running other programs? But maybe the other programs are 32bit(steam for example is 32bit on my system). Or you have a different version of these libraries. I don't know what the output of ldd would be in that case.

What Linux distribution are you using and what version of this distribution do you have?

Maybe something prevents ldd and eu4 from accessing the libraries. Are you running it in some kind of restricted mode(e.g. chroot or jail)?

Maybe something overrides where your system is looking for the libraries. Does "export |grep LD_" give any output?

Does the output of ldd change if you add the location of the libraries to your LD_LIBRARY_PATH? For example like this:
Code:
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/the/folder/of/one/library:/path/to/the/folder/of/another/library" ldd eu4
If ldd find the libraries that way, you can try to run ./eu4 with the same in front of the command