Compiling a rust program works correctly, but when running the binary the dynamic linker says libstdc++.so.6: cannot open shared object file: No such file or directory
.
The only way I found to get around this in a manifest file is with force accessing gcc:lib
which is a private package definition:
(concatenate-manifests
(list
(packages->manifest
(list
(list (@@ (gnu packages gcc) gcc-13) "lib"))
(specifications->manifest
(list
"coreutils"
"libgccjit"
"clang-toolchain"
"other stuff..."))))
but the operator is kind of a hack since it accesses private definitions in a module and probably isn’t mean to be normally used.
Has anyone found a proper way to link to libstdc++.so.6
?
You must log in or register to comment.