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
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
Relevant questions
Server works with Gamelift-local, breaks on fleet activation
asked 3 years agoGamelift Linux fleet failing to start due to missing GLIBC_2.29 and GLIBCXX_3.4.26
asked a month agoUnity plugin for Gamelift failing to deploy
asked 2 months agoUsing UE4 and Gamelift, It only gives me an SDK Timeout error?
asked a year agoCannot delete activating fleet..
asked 5 years agoAWS Gamelift Fleet Instance Capacity not updating on terminated fleet
asked 6 months agoIntrospection on GameLift EC2 instance
Accepted Answerasked 10 months agoGamelift fleet instance deploy location
asked a year agoWhen building gamelift fleet with install.sh at correct location get this error: Cannot run program "/local/game/install.sh" (in directory "/local/game"): error=2, No such file or directory
asked 2 months agoFailed to creat a fleet of GameLift
asked 4 months ago
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