启动 FTL 游戏时出错

启动 FTL 游戏时出错

我正在尝试在 Steam 上启动游戏《FTL: Faster than light》,但一直收到此错误:

ExecCommandLine: "/home/fm0s/.local/share/Steam/ubuntu12_32/steam -foreground"
Game update: AppID 212680 "FTL: Faster Than Light", ProcID 9211, IP 0.0.0.0:0
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/fm0s/.local/share/Steam/steamapps/common/FTL Faster Than Light/FTL: line 4: cd: ./data: No such file or directory
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Loading Arch = amd64
ERROR: ld.so: object '/home/fm0s/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40
No settings file found! 
Initializing Crash Catcher...
Initializing Video
Game removed: AppID 212680 "FTL: Faster Than Light", ProcID 9211 

`

我不知道该怎么办...

答案1

这是由于 FTL {arch}/lib/libstdc++.so.6 中包含了旧的 stdlibc++

删除或归档文件

  • cd ..sommedir../FTL/data
  • mv ./amd64/lib/libstdc++.so.6 libstdc++.so.6_unwanted_amd64_lib
  • mv./x86/lib/libstdc++.so.6 libstdc++.so.6_unwanted_x86_lib

相关内容