[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49314: Stan package broken
From: |
Sarah Morgensen |
Subject: |
bug#49314: Stan package broken |
Date: |
Thu, 22 Jul 2021 22:25:37 -0700 |
Hello,
Thanks for the bug report.
Kyle Andrews <kyle.c.andrews@gmail.com> writes:
[...]
> #+BEGIN_EXAMPLE
> Error in dyn.load(libLFile) :
> unable to load shared object '/tmp/Rtmp1AXXXr/file1ffd36a95fa3.so':
>
> /gnu/store/741057r2x06zwg6zcmqmdyv51spm6n9i-gfortran-7.5.0-lib/lib/libstdc++.so.6:
> version `GLIBCXX_3.4.29' not found (required by
> /tmp/Rtmp1AXXXr/file1ffd36a95fa3.so)
This kind of error typically occurs when something is compiled with a
newer version of GCC/glibc and then linked with an older version. Do you
happen to have a gcc or gcc-toolchain installed in your profile (and
does removing it solve this issue)?
> Error in sink(type = "output") : invalid connection
> #+END_EXAMPLE
>
> I setup my environment with:
>
> : guix environment --ad-hoc r-rstan r-rstanarm r
Alternatively, you could try
guix environment --pure --ad-hoc r-rstan r-rstanarm r bash coreutils
(Using --pure prevents packages from your profile being used.)
--
Sarah