Skip to content

SDK fails to load in Godot distribution on Steam due to scout runtime incompatibility #613

@GaelFG-Anderon

Description

@GaelFG-Anderon

How do you use Sentry?

Sentry Saas

Sentry SDK version

1.5.0

How did you install the SDK?

AssetLib

Godot version

v4.6.1.stable.official (via Steam distribution)

Which platform?

Linux

How to reproduce

(probably broader scope, I just give my case :) )

Expected result

  • The library load

Actual result

(note : 'gael' is just my username on this computer)
The libcurl.so.4 provided by steamlinuxruntime ( version 4.2.0) is rejected

--- Debug adapter server started on port 6006 ---
ERROR: Can't open dynamic library: /home/gael/Documents/GitHub/gaelgamejamaout2025/addons/sentry/bin/linux/x86_64/libsentry.linux.debug.x86_64.so. Error: /home/gael/.local/share/Steam/steamapps/common/SteamLinuxRuntime/var/steam-runtime/pinned_libs_64/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /home/gael/Documents/GitHub/gaelgamejamaout2025/addons/sentry/bin/linux/x86_64/libsentry.linux.debug.x86_64.so).
ERROR: drivers/unix/os_unix.cpp:1061 - Condition "!FileAccess::exists(path)" is true. Returning: ERR_FILE_NOT_FOUND
ERROR: GDExtension dynamic library not found: 'res://addons/sentry/sentry.gdextension'.


The problem can be manually resolved by modifying the symbolic link /home/gael/.local/share/Steam/steamapps/common/SteamLinuxRuntime/var/steam-runtime/pinned_libs_64/libcurl.so.4 to point toward
the curl version bundled with fedora (4.8.0) but it's annoying, and Steam seems to rollback the change after some time (updates I assume, it break sometime and the link is reverted).

I'm really not familiar neither with linux binary library or libcurl so I don't know what would be better :

  • make the libsentry.linux.debug.x86_64.so compatible with the steam pinned version of curl
  • bundle a more recent curl version
  • link to the distribution packaged version and not the steam linux runtime one
  • some other solution :)

Additional supposition :

I found lot of mention of error with "version `CURL_OPENSSL_4' not found" : it seems the version flag is only available with a specific compilation flag, and so some custom compiled version (like the steam linux runtime one) don't provide it.

https://stackoverflow.com/questions/30017397/error-curl-usr-local-lib-libcurl-so-4-no-version-information-available-requ

I can provide the steam libcurl stock bundled version if requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugsomething isn't working as it shouldGodotplatform label
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions