Closed
Description
On my installations (fedora34) making julia
from a fresh clone of JuliaLang/julia
fails with the following messages:
No problems with fedora33.
LINK usr/lib/libjulia-internal.so.1.7
/usr/bin/ld: ./codegen.o: in function `__gnu_cxx::new_allocator<llvm::Type*>::allocate(unsigned long, void const*)':
/usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()'
... some more of that kind
It came out, that the version of ~/julia/usr/lib/libstdc++.so.6.0.28
is responsible for that.
When I replace this library by the system version in /usr/lib64/libstdc++.6.0.29
julia links and runs like a charm.
ls -l libstdc*
lrwxrwxrwx. 1 crusius ems 19 23. Apr 16:14 libstdc++.so -> libstdc++.so.6.0.29
lrwxrwxrwx. 1 crusius ems 19 23. Apr 16:14 libstdc++.so.6 -> libstdc++.so.6.0.29
-rwxr-xr-x. 1 crusius ems 20907888 23. Apr 10:23 libstdc++.so.6.0.28
-rwxr-xr-x. 1 crusius ems 2227752 23. Apr 16:13 libstdc++.so.6.0.29
LINK usr/lib/libjulia-internal.so.1.7
LINK usr/lib/libjulia-internal.so.1
LINK usr/lib/libjulia-internal.so
JULIA usr/lib/julia/corecompiler.ji
JULIA usr/lib/julia/sys.ji
coreio.jl
Metadata
Metadata
Assignees
Labels
No labels