wch / r-debug

Dockerfile with several builds of R for memory/thread debugging
https://hub.docker.com/r/wch1/r-debug
87 stars 12 forks source link

undefined symbol: `__libc_single_threaded` #25

Open david-cortes opened 2 years ago

david-cortes commented 2 years ago

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.

david-cortes commented 2 years ago

Oddy enough, there is no issue loading the package with devtools::load_all

ryuujo1573 commented 4 days ago

You may want to upgrade your glibc by >= 2.32.