skip to Main Content

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


  1. Chosen as BEST ANSWER

    I solved it by installing package r-guix-install from Guix package manager and using this command

    guix.install::guix.install("osmdata")
    

  2. The error means: osmdata.so was compiled with g++ version 11.1.0 (ABI mapping of GLIBCXX to g++ version is documented here), but the version of libstdc++.so.6 installed on the system is older, and doesn’t provide GLIBCXX_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 your libstdc++.so.6.

    P.S. Your question has nothing to do with glibc.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search