Problem starting dedicated server on ubuntu



  • Hi everyone, I tried to launch a local server using steam downloaded version of Screeps. It fails with the following errors :

    In main engine logs :

    ERROR: ld.so: object '/home/glad0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ELECTRON_ASAR.js:172
            return old.apply(this, arguments)
                       ^
    
    Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/glad0s/.local/share/Steam/steamapps/common/Screeps/server/package/node_modules/isolated-vm/build/Release/isolated_vm.node)
        at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
        at Object.Module._extensions..node (module.js:671:18)
        at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (module.js:586:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (/home/glad0s/.local/share/Steam/steamapps/common/Screeps/server/package/node_modules/isolated-vm/isolated-vm.js:1:173)
        at Object.<anonymous> (/home/glad0s/.local/share/Steam/steamapps/common/Screeps/server/package/node_modules/isolated-vm/isolated-vm.js:3:3)
    ERROR: ld.so: object '/home/glad0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ELECTRON_ASAR.js:172
            return old.apply(this, arguments)
                       ^
    

    I have seen a topic regarding this, where devs are saying this should be fixed two years ago. Obviously there are still some issues. Any advice?

    Config :

    4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    

    also :

    libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.10).