-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requires GLIBCXX 3.4.32 #10
Comments
Ubuntu 20 LTS will drop support in 2025 (see https://ubuntu.com/about/release-cycle), so keep in mind that they will remove their support too in half a year. Godot itself does not have any requirements to the used OS (see https://docs.godotengine.org/en/stable/about/system_requirements.html#desktop-or-laptop-pc-recommended): Right now we use Ubuntu 24 for compiling the binaries (see Line 1 in f34effd
|
Which Godot version are you using? @SoapSpangledGames |
Note to self: needs some more work than just switching to Ubuntu 20.04 inside the
Will check if using PIP for installing SCons will help, and I will check if generated binaries still work with later glibc version. (I hate these version conflicts) |
I'm using Godot 4.3. I am planning on building Tree3D myself in order to get the correct binaries for Ubuntu 20.04. |
I downloaded SCons 4.8.1, so I think I will be able to build it. |
It's building now. |
I've found an issue over at the Godot project regarding glibc, but they are discussion glibc 2.x stuff,: godotengine/godot#95182 Not sure if we need to supply special versions here, I would prefer to glibc 3, but it needs to be documented. I'm building the extension on my local machine too and will then push through all the test-devices I have. |
The build completed, but I don't know what to do now. Since you're building, perhaps I should just wait for you to finish. |
Depending on how you've built it, look into the |
I built it with "scons target=template_release arch=x86_64 platform=linux", and I found it under demo/addons/Tree3D. However, I need to build the debug version. |
I am a bit puzzled, I have rechecked the build system, the glibc installed there is having glibc 2.39 installed:
When switching to Ubuntu 20.04 it states the following:
Can you show me, what lib the How did you get the information about glibc 3.4.32 ? |
ldd libTree3D.linux.template_debug.x86_64.so linux-vdso.so.1 (0x00007ffcdd0eb000) |
I am looking back to the original report: #2 (comment) Can you please change the title of this issue to Just to make sure, can you post me which version it is ( EDIT:
|
I got the information about the library when I ran Godot from the command line. |
ls -althr /lib/x86_64-linux-gnu/libstdc++.so.6 lrwxrwxrwx 1 root root 19 Jul 9 2023 /lib/x86_64-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.28 strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 |
Compiled with Ubuntu 20.04
Compiled with Ubuntu 22.04
Compiled with Ubuntu 24.04
When compiled with Ubuntu 24.04 the generated SO file is 4kb less in size for the @JekSun97 What versions of Ubuntu do you want to support? Right now there are no proper restrictions from Godot itself, so there are no checks available. There is another issue at the Godot project, where static linking was discussed: godotengine/godot#3468 For me there are now multiple options:
EDIT: as far as I can see, the generated Example:
|
One sidenote regarding static linking:
From what I found, it is adviced against static linking |
@SoapSpangledGames An alternative, that came up very frequently while researching:
This adds a repository to your Ubuntu-system ... but there might be a lot of other packages, that you would "by accident" replace. So I am not sure if that solution would fit your needs. EDIT:
|
My personal opinion is to avoid statically linking system libraries, as security fixes in system libraries are too important to rely on application programmers to apply. I've always been fine with statically linking application libraries, though. |
I will upgrade to the latest Ubuntu (I actually use Kubuntu) shortly before end of life. I'm just waiting for Wayland to not suck. It seems to be getting there quickly, so I'm crossing my fingers that it will be ready before 20.04 support ends. With X11 on life support, there will soon be no other choice. The last time I tried to install Kubuntu with Wayland video on my three-monitor setup, it was an adventure that didn't end well. I'm VERY wary of using system PPA's. I tried it once, and it completely hosed my system. I will likely not try them a second time. |
In the meantime, you just can use your custom compiled binaries ;) at least that works |
I am trying to use Tree3D on Ubuntu 20.04, which has glibc 2.31, but the Tree3D Linux binaries are built against glib 3.4.32. Is there a way to get libraries compatible with Ubuntu 20.04?
The text was updated successfully, but these errors were encountered: