Gamelift Linux fleet failing to start due to missing GLIBC_2.29 and GLIBCXX_3.4.26

0

I tried to deploy an AMAZON_LINUX Gamelift fleet, but it fails when activating. When I ssh'd into the EC2 instance and tried to run the game manually, I got these errors:

/lib64/libm.so.6: version GLIBC_2.29' not found (required by /local/game/XXXXX/Binaries/Linux/../../Plugins/GameLiftServerSDK/ThirdParty/GameLiftServerSDK/Linux/x86_64-unknown-linux-gnu/libaws-cpp-sdk-gamelift-server.so) /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by /local/game/XXXXX/Binaries/Linux/../../Plugins/GameLiftServerSDK/ThirdParty/GameLiftServerSDK/Linux/x86_64-unknown-linux-gnu/libaws-cpp-sdk-gamelift-server.so)

How can I solve them?

  • More info: I compiled the GameLift Server SDK in Windows through the WSL.

    The output of 'strings /usr/lib64/libstdc++.so.6 | grep GLIBC' in the EC2 instance is as follows:

    GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.4 GLIBC_2.18 GLIBC_2.16 GLIBC_2.17 GLIBC_2.3.2 GLIBCXX_DEBUG_MESSAGE_LENGTH

preguntada hace 2 años495 visualizaciones
1 Respuesta
0

I finally solved it by compiling the GameLift Server SDK on the same EC2 Linux 2 fleet instance instance and downloading the generated libaws-cpp-sdk-gamelift-server.so file. Which makes me wonder why not you, Amazon people, provide a ready built binary for Amazon Linux 2 instances, since it is where we will be deploying the games if we use GameLift?

For anyone wanting to do the same process, here are some useful links:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/compile-software.html

https://stackoverflow.com/questions/47508591/running-cmake-on-amazon-linux (You'll need to compile a more up-to-date version of CMake)

https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-engines-setup-unreal.html

respondido hace 2 años
  • Any chance you could share a link to the built linux .so file? We're running into the same issue and this file should be the same for everyone like you said

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas