-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`GLIBCXX_3.4.21' not found #841
Comments
The problem here is that your Anaconda environment + your system's own library are requesting incompatible versions of the C++ standard library. You likely need to set |
Shoud I set |
Since I have not tried them with Anaconda but I was facing the same issue with python (but not R) installed by Nix package manager and that approach worked. One issue you may encounter is the R executable doesn't do much - all the actual functionality is in |
I ran into a similar issue in a GitHub Action, and this answer finally help me after many trials (including setting
ExplanationMy initial error was:
so I needed to remove the existing libstdc++.so.6 and make a symlink for it in /usr/lib/x86_64-linux-gnu/.
|
Is it possible to tell reticulate to look for the library in question in the conda environment |
I took a shortcut and used an older version of a Python package (in my case xgboost) and that worked fine (detail: #1282 (comment)). Posting it here just in case this info can be helpful for some, especially for those without sudo access |
for my Dockerfile I even shortened that by using the force option
Your post saved me <3 ❤️ |
Update on 2023-02-19: It looks like this issue has been fixed somewhere upstream (and perhaps thanks to the updated r-lib actions to v2?). Anyhow, I had to now remove this step (called Install gcc step in my action file). |
|
Thanks a lot!!!! |
The following code give me error:
Please see my config.
I am using a Linux server system.
The text was updated successfully, but these errors were encountered: