# Cmdstanr error: version \`GLIBC\_2.32' not found

**URL:** <https://discourse.mc-stan.org/t/cmdstanr-error-version-glibc-2-32-not-found/39888>\
**Category:** CmdStan\
**Tags:** cmdstanr\
**Created:** [July 14, 2025, 12:13pm UTC](https://discourse.mc-stan.org/t/cmdstanr-error-version-glibc-2-32-not-found/39888 "2025-07-14T12:13:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheeta27](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/sheeta27/32/19189_2.png) [@Sheeta27](https://discourse.mc-stan.org/u/Sheeta27)\
**Post date:** [July 14, 2025, 12:13pm UTC](https://discourse.mc-stan.org/t/cmdstanr-error-version-glibc-2-32-not-found/39888/1 "2025-07-14T12:13:09Z")

</div>

Hi everyone!  
I was using rstan for the past few months, and I’m trying to move to cmdstanr but I have some issue with the installation.  
When I’m following the vignette ([Getting started with CmdStanR • cmdstanr](https://mc-stan.org/cmdstanr/articles/cmdstanr.html#running-mcmc)), everything work until I run the installation example (section running MCMC).  
I get

```no-highlight
Chain 4 Iteration: 1001 / 2000 [50%] (Sampling) 
Chain 4 Iteration: 1500 / 2000 [75%] (Sampling) 
Chain 4 Iteration: 2000 / 2000 [100%] (Sampling) 
Chain 1 finished in 0.0 seconds.
Chain 2 finished in 0.0 seconds.
Chain 3 finished in 0.0 seconds.
Chain 4 finished in 0.0 seconds.

All 4 chains finished successfully.
Mean chain execution time: 0.0 seconds.
Total execution time: 0.3 seconds.

grep: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /apps/rocs/2020.08/prefix/lib/../lib64/libpthread.so.0)
Error: Supplied CSV file is corrupt!

```

I try to install GLIBC\_2.32 but I wasn’t successful. I also contacted my IT teams, but I wanted to know if someone already had these issue and might know how I could overcome this issue please?

(some of my session info being:  
R version 4.0.5 (2021-03-31)  
Platform: x86\_64-pc-linux-gnu (64-bit)  
Running under: Red Hat Enterprise Linux 8.10 (Ootpa)

Matrix products: default  
BLAS/LAPACK: /apps/rocs/2020.08/cascadelake/software/OpenBLAS/0.3.9-GCC-9.3.0/lib/libopenblas\_skylakexp-r0.3.9.so)

Thank you in advance!  
-S

---

<div class="post-metadata">

**Author:** ![Sheeta27](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/sheeta27/32/19189_2.png) [@Sheeta27](https://discourse.mc-stan.org/u/Sheeta27)\
**Post date:** [July 15, 2025, 7:55pm UTC](https://discourse.mc-stan.org/t/cmdstanr-error-version-glibc-2-32-not-found/39888/2 "2025-07-15T19:55:37Z")

</div>

The issue was resolved by simply up-dating the R version. For anyone having the same issue, see also:

> [@Problem compiling stan code - error from /usr/bin/ld](https://discourse.mc-stan.org/t/problem-compiling-stan-code-error-from-usr-bin-ld/35018/26):
>
> You likely need to upgrade your version of cmdstanr
