PA Fails to load using Linux Steam client (compiled with later libc++)

Discussion in 'Support!' started by peppertarts, September 26, 2013.

  1. peppertarts

    peppertarts New Member

    Messages:
    2
    Likes Received:
    0
    Have any Steam users on Linux managed to get PA working?

    It appears that the Beta is compiled against a later version of libc++ than is bundled with Steam on Linux. This results in the following error message:

    /home/peter/.local/share/Steam/SteamApps/common/Planetary Annihilation/PA: /home/peter/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.17' not found (required by /home/peter/.local/share/Steam/SteamApps/common/Planetary Annihilation/PA)

    Executing PA directly works as it uses my system version (/usr/lib/x86_64-linux-gnu/libstdc++.so.6), however, I can't play as the I have converted my account to a steam account.

    I would have posted this in the Linux forum however I can't access it. Are Beta backers going to get access to restricted forums?

    Edit: This is for version 54412.

    Peter.
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    If you already activated the game on steam you need to link your accounts here:
    https://uberent.com/user/linksteam
    Then logout and login on forums and you'll able to view alpha forums.
    peppertarts likes this.
  3. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Also about problem itself. It's reported on official bugtracker here: FS#2100. Please vote!
  4. peppertarts

    peppertarts New Member

    Messages:
    2
    Likes Received:
    0
    Thanks SXX, I had linked my accounts but logging out and in again did the trick. I've just voted on that issue, hopefully it gets picked up soon.
  5. neutrino

    neutrino low mass particle Uber Employee

    Messages:
    3,123
    Likes Received:
    2,687
    BTW I want to publicly thank SXX for all of the work he's put into supporting the game. SXX you are a hero of mine and I want everyone to know you've been instrumental in helping us get some of this stuff sorted.
  6. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    I second this.
  7. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Thank you neutrino! You and other Uber people already made two great games and I spend big piece of my life with them and I get lot of fun from these games. This is why I'm really want to help you make PA best RTS ever. I'm believe that it's how game development should looks like. Probably game dev in general need more openness on tech side, but it's something will be fixed over time. :)

    Probably many thing smight be done better (there is always something can be better, lol), but there is many developers come to Kickstarter and ask for support and talk alot about community-driven development. But it's easy to talk about that and pretty hard to done anything like that in real life and you probably one of few companies who can make truly open development process and this is other reason why I'm feel this is important to support PA and Uber.

    PS: Also I'll be really happy if you can implement assets (units/effects/shaders) reloading on the fly for Linux version anytime soon.
    Last edited: September 27, 2013
  8. flarets

    flarets New Member

    Messages:
    3
    Likes Received:
    0
    Hi all,

    I can also confirm this bug (Gentoo Linux) but that bug report site doesn't recognize my beta account as valid.

    Specifically for me it's:

    Code:
    /home/$USER/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdcc++.so.6: version `GLIBCXX_3.4.17' not found
    I checked which GLIBCXX were supported:
    Code:
    $ strings libstdc++.so.6|grep GLIBCXX
    
    The earliest version of GCC version that has GLIBCXX_3.4.17 is 4.7.3, but after installing that and symbolically linking the system version of libstdc++, loading the game crashed my window manager (Xfce).

    I have intel sandybridge mobile graphics running the Mesa 9.1.2. It could be a problem with the driver so I'm updating that and will update if it worked.

    I tried the game on Windows too, but of course I've only got WinXP which isn't supported.

    Soooo I was wondering if it were possible to revert my steam code back to the PA code and download and play the beta version from PA itself, rather than having to go through Steam.

    Edit: grammar
    Last edited: September 28, 2013
  9. ronybeck

    ronybeck New Member

    Messages:
    3
    Likes Received:
    0
    For me I found a different work around to the one listed in the bugtracker.

    I simply opened a terminal and made my way into the directory where the PA binary lives and executed it from there. Seems to work for me on Linuxmint 64bit.

    Code:
    cd ~/.local/share/Steam/SteamApps/common/Planetary\ Annihilation/
    ./PA 
  10. flarets

    flarets New Member

    Messages:
    3
    Likes Received:
    0
    Thanks this helped narrow things down.

    First DRI wasn't configured correctly with the Mesa driver. To check use:
    Code:
    $ glxinfo|grep rendering
    direct rendering: Yes
    
    Then, along with needing GCC-4.7.3 or greater, you need libudev.so.0. Currently I have /lib32/libudev.so.1.2.1 and /lib64/libudev.so.1.3.5. Symbolically linking these i.e.
    Code:
    $ cd /lib32/
    $ ln -s libudev.so.1.2.1 libudev.so.0
    
    worked briefly, until the game crashed my window manager (Xfce4). I'll post the output in an edit because I'll lose the post otherwise.

    Edit: The total crash output was too long to post so I've attached it instead. It could still be the Mesa drivers. Anyway hope it helps the developers (if they read it).

    Attached Files:

    Last edited: September 29, 2013
  11. flarets

    flarets New Member

    Messages:
    3
    Likes Received:
    0
    So, for the other Gentoo user out there, the problem with crashing the window manager was with the Mesa driver. You need to enable "osmesa vdpau xvmc openvg xa xorg gbm gles1 gles2 gbm" USE flags, and also "debug" if you like.

    Apart from that the latest build works (!) but is incredibly slow and has no cursor.
  12. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812

Share This Page