DerrickWood / kraken2

The second version of the Kraken taxonomic sequence classification system
MIT License
687 stars 267 forks source link

/opt/kraken2/classify: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/kraken2/classify) #701

Closed spiceeeheu closed 1 year ago

spiceeeheu commented 1 year ago

I am trying to run a kraken2 taxonomy classification using this line kraken2 --db /home/0629/kraken2-2.0.9-beta/STANDARD1 --report kraken2_report.txt /home/anvio/350_fq1.fq and these error codes show up /opt/kraken2/classify: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/kraken2/classify) /opt/kraken2/classify: /lib64/libstdc++.so.6: versionCXXABI_1.3.8' not found (required by /opt/kraken2/classify) /opt/kraken2/classify: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/kraken2/classify). I am running the command in a conda environment and when I ran conda update libstdcxx-ng

Collecting package metadata: done Solving environment: done

All requested packages already installed.

I have also installed conda install -n kraken2 -c anaconda libgcc=7.2.0. And I also add the line export LD_LIBRARY_PATH="/storage/homes/.conda/envs/kraken2/lib:$LD_LIBRARY_PATH". I am not really sure if my library path was incorrect or it is something else's problem. I am also not super experienced with linux or conda and I would really appreciate any help. Thanks!

spiceeeheu commented 1 year ago

solved by deleting wrong conda environment folder and use source activate