When I tried to install r package "osmdata" (or any other package) with command
install.packages("osmdata")
it failed with error
"GLIBCXX_3.4.29' not found (required by /home...R/x86_64-unknown-linux-gnu-library/4.2/00LOCK-osmdata/00new/osmdata/libs/osmdata.so)
host system is debian, r is installed using package manager Guix.
2
Answers
I solved it by installing package
r-guix-install
from Guix package manager and using this commandThe error means:
osmdata.so
was compiled withg++
version 11.1.0 (ABI mapping ofGLIBCXX
tog++
version is documented here), but the version oflibstdc++.so.6
installed on the system is older, and doesn’t provideGLIBCXX_3.4.29
.You need to get a version of
osmdata.so
appropriate for your system, or you need to build it from source, or you need to update yourlibstdc++.so.6
.P.S. Your question has nothing to do with
glibc
.