Jump to content
  • Sign Up
  • 0
azurit

Cannot play on linux

Question

Kubuntu 14.04, 32bit. Any hints?
 

Game update: AppID 291650 "Pillars of Eternity", ProcID 13786, IP 0.0.0.0:0
ERROR: ld.so: object '/home/.../.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/.../.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: 1: /home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: ELF: not found
/home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: 2: /home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: Syntax error: "(" unexpected
Game removed: AppID 291650 "Pillars of Eternity", ProcID 13786

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I think that 64bits linux distribution is mandatory :

 

From Gog:

"Note : this game comes with a 64-bit binary only"

Share this post


Link to post
Share on other sites
  • 0

Yep. Read the error message, it's attempting to load 64-bit resources.

Share this post


Link to post
Share on other sites
  • 0

And what about that 'Syntax error: "(" unexpected'? Doesn't seems as an 32bit system problem.

Share this post


Link to post
Share on other sites
  • 0

And what about that 'Syntax error: "(" unexpected'? Doesn't seems as an 32bit system problem.

It could be due to a difference in encoding, a single byte is 64 bits long in a x64 system while on an x86 system it is 32 bits long. The 32 bit system could be attempting to read a 64bit byte and only reading the first half. This can cause an improper character to be decoded or half of the message could be lost.

 

A simple but improper example would be () being read as simply ( or an "x" being read as "z"

 

Edit: This is an error in sh, most likely caused because it is meant for a different shell. So yes it is a 32 vs 64 bit problem.

Edited by Ekital

Share this post


Link to post
Share on other sites
  • 0

I'd say this 'And what about that 'Syntax error: "(" unexpected'' is just an error in the script,

in certain case it seems to look for two ELF's however since the game only is 64bit compiled (there is no 32bit ELF).

It will not find this... topic should be marked as [resolved].

Share this post


Link to post
Share on other sites
  • 0
/home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: 1: /home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: ELF: not found
/home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: 2: /home/.../.local/share/Steam/SteamApps/common/Pillars of Eternity/PillarsOfEternity: Syntax error: "(" unexpected

 

The reason those two lines happen is because the shell, for some reason, tries to interpret this ELF binary as a shell script, after it couldn't load the 64-bit gameoverlayrenderer.so.

 

The 1 and 2 are line numbers (after trying to interpret the file as plain text). The first 4 byte of an ELF binary are 0x7F ELF, and the shell throws away the 0x7F (because it's a non-printable control character), then tries to execute a command "ELF", which of course doesn't exist. It goes on to try to parse the second "line", and then trips over the '(' it finds mid-way through. Of course, everything else in that line is also not valid as a shell script, but the '(' is the first serious problem the shell can't cope with, and dies.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...