Open AshesITR opened 3 years ago
If others encounter this problem, so far I haven't seen any issues with symlinking to the system libstdc++ under /lib64
.
In the miniconda environment lib (~/.local/share/r-miniconda/envs/r-reticulate/lib
) I ran:
ln -s /lib64/libstdc++.so.6.0.29 libstdc++.so.6.0.29
ln -sf libstdc++.so.6.0.29 libstdc++.so
ln -sf libstdc++.so.6.0.29 libstdc++.so.6
I have a (currently private) package with a vignette using
{reticulate}
with miniconda and{keras}
. When trying to usepkgdown::build_site()
, the building of the vignette fails with an error message that suggests my localsass.so
built with my local gcc (gcc --version
: 11.1.0) is incompatible with thelibstdc++
bundled with miniconda.Seemingly reticulate causes
LD_LIBRARY_PATH
to point to this old version oflibstdc++
.I'm currently trying to get an MWE but the issue is quite clear to me, I just don't know how to (safely) solve it. Can I just symlink the miniconda libstdc++ to my system libstdc++? Or is there a way to force miniconda to rebuild its libraries with my system gcc (11.1.0)?
Any guidance is welcome.
Platform Info