Skip to content

Game SDK: undefined reference to GLIBC_2.27 when compiling Linux in Unreal Engine #6176

Open
@Zaratusa

Description

@Zaratusa

Description

Hi,

I'm using the Game SDK 3.2.1 on Linux in Unreal Engine 4.27 with the Toolchain v19 (clang-11.0.1-based). When compiling the game I'm getting the following linker errors:

discord_game_sdk.so: undefined reference to powf@GLIBC_2.27 [--no-allow-shlib-undefined]
discord_game_sdk.so: undefined reference to exp2f@GLIBC_2.27 [--no-allow-shlib-undefined]

Is there any way to fix this issue?

Steps to Reproduce

Use Unreal Engine Linux Toolchain v19 or newer to build an application with the Game SDK.

Expected Behavior

It compiles successfully without linker errors.

Current Behavior

It fails to compile with linker errors.

Client and System Information

  • Game SDK 3.2.1
  • Unreal Engine 4.27
  • Unreal Linux Toolchain v19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions