-
Notifications
You must be signed in to change notification settings - Fork 2
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
Glibc version incompatibility on Ubuntu 24.04 hosts with NVidia runtime #186
Comments
If libc 2.38 is backward-compatible with 2.35 (which should be OK) then we can try mounting the libc of the host system into the container in this situation. But automating this operation in casa-distro will not be easy, as we must do it only if the libc of the host system is newer than the one of the container. But to begin with, we must do the test. |
The issue is confirmed on a newly remastered Ubuntu 24.04 workstation. New installs in NeuroSpin are now done with Ubuntu 24.04 unless 22.04 is specifically requested, so we have to find a solution relatively quickly. Pinning the issue. From a technical point of view, I do not yet have a clear idea of the implications... but technically, the inclusion of these libraries is prompted by |
Could you try mounting the libc of the host system (Ubuntu 24.04) in the container (Ubuntu 22.04) ? |
I have logged in your machine, and trying: |
While we wait for a cleaner solution, maybe we can just add those libs to the site config in the neurospin install of brainvisa ? |
I have done that (modified |
I did a quick test, the workaround seems to fix Ubuntu 24.04, unsurprisingly Ubuntu 22.04 still works. However, it seems to have broken Ubuntu 20.04 compatibility (we have few machines, but the graphical frontend of the cluster is one of them):
|
Aha, yes if there are still machines older than the image, then the fix will break them :( |
I have attempted a fix: brainvisa/casa-distro@c604093) |
backported in brainvisa/casa-distro@5a5f0f7 |
This fixes the workaround for issue brainvisa/brainvisa.github.io#186 For some unknown reason, on some machines "apptainer run ...libc.so.6" returns an empty string, whereas "apptainer exec ..." works.
The issue was still present on NeuroSpin's workstations, so I have deployed Denis' workaround to the shared install on We need to decide how to proceed with that issue (new release?) because as of now, we cannot use BrainVISA on newly installed or updated NeuroSpin laptops; and external users may run into that issue as well... |
Describe the bug
When I want to launch interface like brainvisa, on my Ubuntu 24.04 computer, I have an import error with the message :
This error occurs after an update of the drivers of my computer (NVIDIA). Thanks to @sapetnioc, we saw that libc version inside the container is 2.35, however the error mention the need of 2.38. We suspect that drivers of Ubuntu 24.04 requires recent libc which is not available in the container.
If I specify
opengl=software
I do not have the issue anymore, but the issue might happens more later.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment:
The text was updated successfully, but these errors were encountered: