OpenLoco: Linking during build fails on Void Linux

OS: Void Linux Version: Rolling release (similar to Arch) Commit/Build: caf78f5576456a0d5e16cc131706c8f982b345a9

It fails to build on Void Linux, even with libstdc++-32bit libraries installed.

Steps to reproduce:

  1. Attempt build
  2. Build fails

Is the issue reproducible in Locomotion (vanilla)?

N/A

Screenshots / Video:

N/A

Save game:

N/A

Here’s the (relevant) compiler output

[ 75%] Linking CXX executable openloco
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/7.3.0/../../../libstdc++fs.a when searching for -lstdc++fs
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++fs.a when searching for -lstdc++fs
/usr/bin/ld: skipping incompatible /lib/libstdc++fs.a when searching for -lstdc++fs
/usr/bin/ld: cannot find -lstdc++fs
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/openloco.dir/build.make:1026: openloco] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/openloco.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments