plger / scDblFinder

Methods for detecting doublets in single-cell sequencing data
https://plger.github.io/scDblFinder/
GNU General Public License v3.0
153 stars 18 forks source link

Error when running library(scDblFinder) on jupyter through %%R #77

Closed ngvananh2508 closed 1 year ago

ngvananh2508 commented 1 year ago

Describe the bug When I ran library(scDblFinder) on jupyter, it appeared this error: Error: package or namespace load failed for ‘scDblFinder’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/nguyen/R/x86_64-pc-linux-gnu-library/4.1/xgboost/libs/xgboost.so': /home/nguyen/anaconda3/lib/python3.10/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/nguyen/R/x86_64-pc-linux-gnu-library/4.1/xgboost/libs/xgboost.so) I tried to update libstdc++.so.6 and remove/install again but it can not work. Please help me. I am using R version 4.1.2 I set up scDblFinder through BiocManager: version 1.13.13 Thank you very much.

plger commented 1 year ago

Hi, This is not a problem of scDblFinder but of your xgboost installation. Try to google in this direction, for most people it seems something simple like installing libgcc and re-installing xgboost seems to work (e.g. here).

ngvananh2508 commented 1 year ago

Thank you very much!