# GLIBCXX not found when using reticulate, unless LD\_LIBRARY\_PATH is set

**URL:** <https://forum.anaconda.com/t/glibcxx-not-found-when-using-reticulate-unless-ld-library-path-is-set/54611>\
**Category:** Technical Topics\
**Created:** [April 26, 2023, 1:00am UTC](https://forum.anaconda.com/t/glibcxx-not-found-when-using-reticulate-unless-ld-library-path-is-set/54611 "2023-04-26T01:00:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![btyner](https://avatars.discourse-cdn.com/v4/letter/b/f5a800/32.png) [@btyner](https://forum.anaconda.com/u/btyner)\
**Post date:** [April 26, 2023, 1:00am UTC](https://forum.anaconda.com/t/glibcxx-not-found-when-using-reticulate-unless-ld-library-path-is-set/54611/1 "2023-04-26T01:00:29Z")

</div>

I am using conda version 22.9.0, conda-build version 3.22.0, python version 3.9.13.final.0 on Amazon Linux 2. I am using R version 3.4.3 and have installed the reticulate package version 1.28. If I load reticulate and try to import pandas, it gives an error:

`ImportError: /lib64/libstdc++.so.6: version `GLIBCXX\_3.4.29’ not found (required by /home/hadoop/anaconda3/lib/python3.9/site-packages/pandas/\_libs/window/aggregations.cpython-39-x86\_64-linux-gnu.so)`

this is because on my system, /usr/lib64/libstdc++.so.6 does not support anything beyond GLIBCXX\_3.4.24. I know one way to solve this is to set

`LD_LIBRARY_PATH=/home/hadoop/anaconda3/lib`

but I’m wondering if there is a more standard approach? I also wonder if this is evidence of a mis-configuration somewhere in the toolchain.

---

<div class="post-metadata">

**Author:** ![purusoni](https://avatars.discourse-cdn.com/v4/letter/p/00a5b5/32.png) [@purusoni](https://forum.anaconda.com/u/purusoni)\
**Post date:** [March 4, 2024, 7:35pm UTC](https://forum.anaconda.com/t/glibcxx-not-found-when-using-reticulate-unless-ld-library-path-is-set/54611/2 "2024-03-04T19:35:48Z")

</div>

You need to update pandas.

```auto
pip install -U pandas

```
