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

질문됨 2년 전495회 조회
1개 답변
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

답변함 2년 전
  • 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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠