gdsfmt icon indicating copy to clipboard operation
gdsfmt copied to clipboard

install error: version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Open qindan2008 opened this issue 4 years ago • 1 comments

Hi, When I install gdsfmt, an error occurred as below: installing to /home/LL/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-gdsfmt/00new/gdsfmt/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘gdsfmt’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/LL/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-gdsfmt/00new/gdsfmt/libs/gdsfmt.so': /home/LL/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-gdsfmt/00new/gdsfmt/libs/gdsfmt.so: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference Error: loading failed Execution halted ERROR: loading failed

How to solve the problem? I have tried many ways, but failed. Thank you very much

qindan2008 avatar Nov 26 '20 04:11 qindan2008

Not sure what happened. If you used module to load different C++ compiler, please contact with the system maintainer.

zhengxwen avatar Dec 14 '20 09:12 zhengxwen