You are not logged in.
Pages: 1
Hey, i bougth Company of heroes 2 in steam, i installed on linux(the game has a linux version) and when i try to run the game won't open, i run steam in terminal and i see this output when i run the game :
Game update: AppID 231430 "Company of Heroes 2", ProcID 6665, IP 0.0.0.0:0
>>> Adding process 6665 for game ID 231430
GameAction [AppID 231430, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/mperusso/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mperusso/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mperusso/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 231430, ActionID 2] : LaunchApp changed task to Completed with ""
>>> Adding process 6666 for game ID 231430
pid 6682 != 6666, skipping destruction (fork without exec?)
pid 6683 != 6666, skipping destruction (fork without exec?)
pid 6685 != 6666, skipping destruction (fork without exec?)
pid 6686 != 6666, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/mperusso/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/bin/CompanyOfHeroes2: error while loading shared libraries: /home/mperusso/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libpcre.so.3: file too short
Game removed: AppID 231430 "Company of Heroes 2", ProcID 6665
No cached sticky mapping in ActivateActionSet.Installing breakpad exception handler for appid(steam)/version(1496344747)
EDIT
i add the following on set launch options:
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GLVND_DISALLOW_PATCHING=1 LC_ALL=C LANG=en_US.UTF-8 SDL_AUDIODRIVER=pulse primusrun %command% -w 1366 -h 768 -nojoy
And reduced the errors to this:
Game update: AppID 231430 "Company of Heroes 2", ProcID 7609, IP 0.0.0.0:0
>>> Adding process 7609 for game ID 231430
GameAction [AppID 231430, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/mperusso/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 231430, ActionID 2] : LaunchApp changed task to Completed with ""
>>> Adding process 7610 for game ID 231430
/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/bin/CompanyOfHeroes2: error while loading shared libraries: /home/mperusso/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libpcre.so.3: file too short
Game removed: AppID 231430 "Company of Heroes 2", ProcID 7609
No cached sticky mapping in ActivateActionSet.
Last edited by mperusso (2017-06-04 14:06:08)
Offline
There's this here in the ArchWiki:
https://wiki.archlinux.org/index.php/St … f_Heroes_2
Company of Heroes 2
Like with #Alien Isolation you need to symlink /usr/lib/libpcre.so to gamedir/lib/arch/libpcre.so.3, otherwise the game will fail to start.
And the link pointing to Alien Isolation explains this:
Alien Isolation
Symlink /usr/lib/libpcre.so to gamedir/lib/x86_64/libpcre.so.3, otherwise the game will fail to start.
I'm pretty sure that's relevant for you because the only real error I see in your log is this line here:
/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/bin/CompanyOfHeroes2: error while loading shared libraries: /home/mperusso/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libpcre.so.3: file too short
All the other lines are the same stuff as what Steam always spams even if everything about a game works right.
Offline
how i do the symlink?
edit:
i dit this:
sudo ls -l /usr/lib/libpcre.so /home/mperusso/.local/share/Steam/steamapps/common/Company\ of\ Heroes\ 2/lib/x86_64/ (with libpcre.so.3 i get a can't found error)
i get this:
sudo ls -l /usr/lib/libpcre.so ~/.local/share/Steam/steamapps/common/Company\ of\ Heroes\ 2/lib/x86_64/
lrwxrwxrwx 1 root root 16 jan 21 15:03 /usr/lib/libpcre.so -> libpcre.so.1.2.8
'/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/lib/x86_64/':
total 198716
-rwxr-xr-x 1 mperusso users 40058019 jun 3 23:22 libacml_mp.so
-rwxr-xr-x 1 mperusso users 92394552 jun 3 23:23 libcef.so
-rwxr-xr-x 1 mperusso users 5762647 jun 3 23:24 libCoreFoundation.so.476
-rwxr-xr-x 1 mperusso users 1930648 jun 3 23:24 libcrypto.so
-rwxr-xr-x 1 mperusso users 506234 jun 3 23:24 libcurl.so.4
-rwxr-xr-x 1 mperusso users 22323964 jun 3 23:24 libicudata.so.51
-rwxr-xr-x 1 mperusso users 12067417 jun 3 23:24 libicui18n.so.51
-rwxr-xr-x 1 mperusso users 8656455 jun 3 23:24 libicuuc.so.51
-rwxr-xr-x 1 mperusso users 1194366 jun 3 23:23 libiomp5.so
-rwxr-xr-x 1 mperusso users 15207200 jun 3 23:25 libpdf.so
-rwxr-xr-x 1 mperusso users 383072 jun 3 23:25 libssl.so
-rwxr-xr-x 1 mperusso users 193919 jun 3 23:23 libsteam_api.so
-rwxr-xr-x 1 mperusso users 1379230 jun 3 23:24 libtbb.so.2
-rwxr-xr-x 1 mperusso users 1389805 jun 3 23:25 libtcmalloc_minimal.so
but still can't play the game.
Last edited by mperusso (2017-06-04 14:35:31)
Offline
"ls" = "list". You just printed directory contents onto the screen with that command.
You want to use "ln -s <source> <target>". I'm guessing this will do it:
sudo ln -s /usr/lib/libpcre.so "/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/lib/x86_64/"
Offline
"ls" = "list". You just printed directory contents onto the screen with that command.
You want to use "ln -s <source> <target>". I'm guessing this will do it:
sudo ln -s /usr/lib/libpcre.so "/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/lib/x86_64/"
i did this and the problem persist, i think this libpcre.so.3 is not in this libpcre package
Offline
Yeah, I made a mistake and didn't read the instruction in the wiki closely enough. You have to do this here:
ln -s /usr/lib/libpcre.so "/home/mperusso/.local/share/Steam/steamapps/common/Company of Heroes 2/lib/x86_64/libpcre.so.3"
Offline
this worked, thank you.
Offline
Pages: 1