4

I have a fresh install of civilization 5 in steam but when I start it, I get a black screen then an instant crash. I'm seeing this error in terminal:

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

I am using Manjaro linux and installed this through the steam client, however it mentions ubuntu in that folder...

Here is the full output when the game is run:

GameAction [AppID 8930, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 8930, ActionID 2] : LaunchApp changed task to ProcessingShaderCache with ""
GameAction [AppID 8930, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 8930, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 8930, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 8930, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 30
Game update: AppID 8930 "", ProcID 6920, IP 0.0.0.0:0
>>> Adding process 6920 for game ID 8930
GameAction [AppID 8930, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/myuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/myuser/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
GameAction [AppID 8930, ActionID 2] : LaunchApp changed task to Completed with ""
>>> Adding process 6921 for game ID 8930
Game update: AppID 8930 "", ProcID 6921, IP 0.0.0.0:0
Setting breakpad minidump AppID = 8930
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198017115478 [API loaded no]
Installing breakpad exception handler for appid(gameoverlayui)/version(20180608222225)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Game removed: AppID 8930 "", ProcID 6921 
No cached sticky mapping in ActivateActionSet.Installing breakpad exception handler for appid(steam)/version(1528497815)
5
  • What is your GPU and have you installed any libraries for your GPU?
    – Fanatique
    Jul 2, 2018 at 13:20
  • Nvidia GeForce GTX1060. In Manjaro settings manager it shows that I have video-nvidia-390xx and video-linux installed for the GPU. I am getting the exact same thing on my laptop with a 4-year-old Nvidia GPU too.
    – Paradox
    Jul 2, 2018 at 19:18
  • (using proprietary drivers)
    – Paradox
    Jul 2, 2018 at 19:24
  • How did you install this? Stuff that isn't in the Manjaro or Arch repo often needs to be compiled.
    – fixer1234
    Jul 3, 2018 at 2:35
  • Through the steam client.
    – Paradox
    Jul 3, 2018 at 17:50

4 Answers 4

17

I had this same problem on Manjaro, game worked fine but started to crash on startup with this same error message after a system update. Apparently this was caused by pulse audio upgrading to version 12.0. Adding

LD_PRELOAD=/usr/lib32/libopenal.so.1 %command% 

in the launch options fixed the problem for me.

1
  • Note: This also requires a package (lib32-openal) to be installed. Nov 9, 2021 at 9:50
0

If you are using steam client beta, add ./Civ5XP "%command%" (keep the quotes as they are) in Set Launch Options in the game properties tab in steam library.

Also, this error does not cause the crash, and is ignored by steam. What causes the crash is probably the apostrophe (') in the game directory filename. See if there is an "unexpected EOF" in the log /steam output, in which case the above workaround applies. This is a bug in the steam client beta.

6
  • I just tried this but the same thing happens. Also, I'm not using the beta client update. I just added the complete terminal output for steam when civ is run in case that helps.
    – Paradox
    Jul 3, 2018 at 17:51
  • Restart steam in a terminal and right after the crash post output starting from the line ">>> Adding process 5225 for game ID *******" to "Game removed: AppID *****" - Your output may vary. Jul 3, 2018 at 18:15
  • Meanwhile you can also disable in-game steam overlay from the game properties if you have not tried it: uncheck Enable the Steam Overlay while in-game Jul 3, 2018 at 18:19
  • I uncheck that in-game because the game won't even launch. As in my question, it instantly crashes.
    – Paradox
    Jul 4, 2018 at 0:37
  • Have you unchecked it in the properties menu in the steam library? Jul 4, 2018 at 0:47
0

Try running from the steam library with this as launch option in the game properties menu: ./Civ5XP "LD_PRELOAD='/usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so ./libcxxrt.so /usr/lib32/libstdc++.so.6' %command%"

3
  • Still doesn't work. Also, my /usr/$LIB/folder does not have a libgcc_s.so.1 file, just bin, include, lib, lib32, lib64, local, sbin, share, src folders/files
    – Paradox
    Jul 6, 2018 at 22:53
  • what versions of libxcb.so do you have? What does the steam terminal log say about the crash with the launch options? Also make sure to launch the game from the library. Jul 7, 2018 at 19:48
  • Also is steam-runtime enabled? Jul 7, 2018 at 20:01
0

The only solution that worked for me, as suggested by a user on Steam Discussion was the following:

LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6:/usr/lib32/libopenal.so.1' %command%

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .