Julia-1.6.2 cannot be compiled

I just tried to compile julia-1.6.2 and got the following error:
ERROR: Unable to load dependent library /giga/opt/julia-1.6.2/usr/bin/…/lib/libjulia-internal.so.1
Message:/giga/opt/julia-1.6.2/usr/bin/…/lib/libstdc++.so.6: version `GLIBCXX_3.4.29’
not found (required by /giga/opt/julia-1.6.2/usr/bin/…/lib/libjulia-internal.so.1)
make[1]: *** [sysimage.mk:61: /giga/opt/julia-1.6.2/usr/lib/julia/corecompiler.ji] Fehl
er 1
I suspect that its a problem with gcc-11.1.0 (numpy has problems with this new version of gcc also). With a former compiler of gcc I had no problems to install julia-1.6.1.
Does anyone have similar problems?

Error building julia from source · Issue #40585 · JuliaLang/julia · GitHub but the fix couldn’t be backported to Julia v1.6.

The prebuilt binaries should work fine and you don’t fight with the build system.


I just compiled the betaversion of julia-1.7.0. This worked fine.