You are not logged in.

#1 2017-01-23 03:02:49

Bronze
Member
Registered: 2016-12-23
Posts: 61

[SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Folks.

In preperaration for future release of Civ6 on Linux, I tried installing Civ5 smile
I read https://wiki.archlinux.org/index.php/Steam#Installation and applies some sections of https://wiki.archlinux.org/index.php/St … leshooting.

However, the errors  below don't want to go away sad
For example, how can I relink?

[jlbakker@idefix ~]$ ExecCommandLine: "~/.local/share/Steam/ubuntu12_32/steam -foreground"
Game update: AppID 8930 "Sid Meier's Civilization V", ProcID 3597, IP 0.0.0.0:0
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 3597 for game ID 8930
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv120__si_class_type_infoE' has different size in shared object, consider re-linking
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv117__class_type_infoE' has different size in shared object, consider re-linking
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv121__vmi_class_type_infoE' has different size in shared object, consider re-linking

EDIT: I don't have a dedicated video card: Intel HD 5500

Last edited by Bronze (2017-01-26 02:04:46)

Offline

#2 2017-01-23 15:38:36

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

First, what is you alias (alias?) for ExecCommandLine: ? Secondly, im not sure why you need -foreground for this to work, but I may be wrong given the previous point. Finally, why are you running from .local/share/Steam? Unless you've changed the defaults, you will likely want to run steam games from .steam/steam/steamapps/common/<game> and steam itself from /usr/bin/steam.

For civ 5, launching it from the command line without a steam instance (no reason for this, just important to note) works fine for me. I recall having those symbol errors at one point though... The number 1 culprit however, as always, is that steam ingame overlay. See if disabling it from within steam itself helps. I certainly would NOT mess with linking/re-linking anything or using symlinks. Is your game crashing or not behaving as expected though? If not, these errors are most likely harmless.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#3 2017-01-23 23:23:04

Bronze
Member
Registered: 2016-12-23
Posts: 61

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Hi!

Here is the full error message. Apologies for not showing it all right away.
The user experience is that few winows briefly open, then close, when I select civ5. 

How do I disable "-foreground"?
I just type the command below and it runs from ~/.local/share/...
I didn't change any defaults ...

I am happy to provide more information!

[bronze@idefix ~]$ env LD_PRELOAD='/usr/$LIB/libstdc++.so.6' steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
[bronze@idefix ~]$ ExecCommandLine: "~/.local/share/Steam/ubuntu12_32/steam -foreground"
Game update: AppID 8930 "Sid Meier's Civilization V", ProcID 3887, IP 0.0.0.0:0
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 3887 for game ID 8930
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv120__si_class_type_infoE' has different size in shared object, consider re-linking
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv117__class_type_infoE' has different size in shared object, consider re-linking
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv121__vmi_class_type_infoE' has different size in shared object, consider re-linking
>>> Adding process 3888 for game ID 8930
Game removed: AppID 8930 "Sid Meier's Civilization V", ProcID 3887 
No cached sticky mapping in ActivateActionSet.Game update: AppID 8930 "Sid Meier's Civilization V", ProcID 3906, IP 0.0.0.0:0
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 3906 for game ID 8930
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv120__si_class_type_infoE' has different size in shared object, consider re-linking
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv117__class_type_infoE' has different size in shared object, consider re-linking
~/.local/share/Steam/steamapps/common/Sid Meier's Civilization V/./Civ5XP: Symbol `_ZTVN10__cxxabiv121__vmi_class_type_infoE' has different size in shared object, consider re-linking
>>> Adding process 3907 for game ID 8930
Game removed: AppID 8930 "Sid Meier's Civilization V", ProcID 3906 
No cached sticky mapping in ActivateActionSet.

Offline

#4 2017-01-23 23:32:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Try using steam-native from the steam-native-runtime package instead (without the explicit LD_PRELOAD you are doing now). It does most of the usually necessary preloading and ensuring to have the right paths.

Last edited by V1del (2017-01-23 23:33:06)

Offline

#5 2017-01-24 03:36:49

Bronze
Member
Registered: 2016-12-23
Posts: 61

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Yes! Just typing

steam-native

made it work smile

Now, did I install too many packages?

[2017-01-21 21:54] [PACMAN] Running 'pacman -S lib32-curl'
[2017-01-21 21:56] [ALPM] transaction started
[..]
[2017-01-21 21:56] [ALPM] transaction completed
[2017-01-21 21:57] [PACMAN] Running 'pacman -S lib32-libgpg-error'
[2017-01-21 21:57] [ALPM] transaction started
[..]
[2017-01-21 21:57] [ALPM] transaction completed
[2017-01-21 21:58] [PACMAN] Running 'pacman -S steam'
[2017-01-21 21:59] [ALPM] transaction started
[..]
[2017-01-21 21:59] [ALPM] transaction completed
[2017-01-21 21:59] [ALPM] running 'gtk-update-icon-cache.hook'...
[2017-01-21 21:59] [ALPM] running 'update-desktop-database.hook'...
[2017-01-22 10:52] [PACMAN] Running 'pacman -S lib32-libcurl-compat lib32-libcurl-gnutls'
[2017-01-22 10:52] [ALPM] transaction started
[..]
[2017-01-22 10:52] [ALPM] transaction completed
[..]
[2017-01-22 10:56] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-.../PKGDEST.ilw/lib32-intel-tbb-2017_20161128-1-x86_64.pkg.tar.xz'
[2017-01-22 10:56] [ALPM] transaction started
[..]
[2017-01-22 10:56] [ALPM] transaction completed
[2017-01-22 11:09] [PACMAN] Running 'pacman -S steam-native-runtime'
[2017-01-22 11:10] [ALPM] transaction started
[..]
[2017-01-22 11:10] [ALPM] transaction completed
[..]

Offline

#6 2017-01-24 07:53:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Most of those are in one way or another dependencies of steam-native anyway, so they are necessary. You don't necessarily need lib32-intel-tbb. If the thread is solved for you you, don't forget to edit the title of your initial post and prepend [SOLVED] or similar.

Offline

#7 2017-01-24 15:00:37

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Actually, lib32-intel-tbb is most definitely required in the case of Civ: Beyond Earth. I've even made a wiki entry for it: https://wiki.archlinux.org/index.php/St … yond_earth. Granted, this certainly does NOT mean Civ 5 will need it, but just something to be mindful of, considering the games similarities. If it's not greatly hurting your system, then I would keep the package, to be safe. smile


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#8 2017-01-25 22:17:21

Gosi
Member
From: Vienna, Austria
Registered: 2010-02-25
Posts: 100

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

To start Civ5 you have to put the preload libs into the launch options of Civ5 like this:

LD_PRELOAD='./libcxxrt.so /usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' %command%

see also https://github.com/ValveSoftware/steam- … ssues/4379

Offline

#9 2017-01-25 22:25:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [SOLVED] Civ5: ELFCLASS32, ELFCLASS64, re-linking ...

Gosi this isn't needed since quite a while as arch has the steam-native-runtime, which also was the resolution of this thread

Offline

Board footer

Powered by FluxBB