Skip to content

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

@qindan2008

Description

@qindan2008

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions