Closed KatMistberg closed 6 months ago
I have checked that
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
exists and indeed containsGLIBCXX_3.4.32
(by runningstrings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
)
On the host, or in the Flatpak environment? It's sounding like you're building the project on the host and running it inside of the Flatpak, resulting in Godot trying to load in a newer libc than is available. Building it from source (no cache) inside of Flatpak should fix it.
Ah true, that was indeed the problem. Thanks!
The issue:
I get this error when opening a project that has a GDExtension addon (such as the tutorial C++ GDExtension) and then the addon is not loaded. This only happens with the flatpak version and not with the executable binary version of Godot, and in both Godot 4.0 and 4.1. I am running Fedora Workstation 38.
The full error in the Output tab of Godot is:
Running the flatpak from the terminal I get:
(extra line breaks inserted in the output for ease of reading)
Steps to reproduce:
What I have tried so far:
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
exists and indeed containsGLIBCXX_3.4.32
(by runningstrings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
)libstdc++.so.6
file is also in/usr/lib
, and I have tried to add/usr/lib/
to theLD_LIBRARY
variable by addingexport LD_LIBRARY_PATH="/usr/lib":$LD_LIBRARY_PATH
to~/.bashrc
libstdc++