r-debug
r-debug copied to clipboard
undefined symbol: `__libc_single_threaded`
In the latest build of this image, I am experiencing this error when installing some C++ packages through <Rbuild> CMD INSTALL package.tar.gz
:
Error: package or namespace load failed for ‘lightgbm’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/local/RDvalgrind/lib/R/site-library/00LOCK-lightgbm/00new/lightgbm/libs/lightgbm.so':
/usr/local/RDvalgrind/lib/R/site-library/00LOCK-lightgbm/00new/lightgbm/libs/lightgbm.so: undefined symbol: __libc_single_threaded
Error: loading failed
Execution halted
ERROR: loading failed
Guess it needs to update its libc
. Happens with RDcsan
too.
Oddy enough, there is no issue loading the package with devtools::load_all
You may want to upgrade your glibc by >= 2.32.
I have the same issue, do you know how I can upgrade the glibc? Thank you so much in advance!!!!
I have the same issue, do you know how I can upgrade the glibc? Thank you so much in advance!!!!
FWIW, If you cannot find the latest glibc
on your OS distribution or that version doesnt satisfy >= 2.32
, you may want to do nothing about it.
Just pick up a newer Linux!