-
Notifications
You must be signed in to change notification settings - Fork 22
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
libstdc++.so.6: version `GLIBCXX_3.4.26' not found #553
Comments
The GAP package ferret is required from
The same happens also independent of Oscar, when I start Julia and then enter |
Yes, I can repdroduce it only using GAP. Here is my output on julia 1.5.1 with the master branch of GAP.jl:
|
Feel free to transfer this issue to GAP.jl (I cannot). |
His looks like the classical bug of "Julia bundles its own copy of the standard C++ library which is older than what the C++ compiler uses, so any C++ compilation fails". And here it tries to compile ferret, which uses C++... The quickest solution (if you just want to get things to work) is to delete the copy of the C++ library bundled with Julia, it'll happily use the newer one which is installed system wide. I am actually not sure how else to deal with this properly; I am pretty sure Polymake will run into similar issues, as it also compilers C++ code on the user's system, and there is no way avoiding it there (for GAP.jl, at least in theory we could "move everything into JLLs", though in practice it's not that easy either). I think we reported this to the Julia folks before, but AFAIK they made no move to improve the situation on their side. |
I see, thanks. I thought that JuliaLang/julia#37955 would give a possible solution. I probably misunderstood something. |
I wasn't aware if that one, sounds great if it works in the end. However, it would only reduce the impact of the issue, not remove it completely. But it'd still be an improvement. |
This issue occurred to me today when updating Oscar from 0.5.2 to 0.6 and all of its dependencies as well, just with
As this seems to be a pretty common issue, it would be great to mention it and the workaround somewhere in the documentation. |
Hopefully JuliaLang/julia#46976 will take care of this for good. |
This is with the master branch of Oscar:
@fingolfin @ThomasBreuer
The text was updated successfully, but these errors were encountered: