bowtie2 error: missing library libtbb.so.2


bowtie2 --help

bowtie2-2.3.0/bowtie2-align-s: error while loading shared libraries: libtbb.so.2: cannot open shared object file: No such file or directory

(ERR): Description of arguments failed!


Solutions


a) Compile bowtie2 without using the TBB library


b) Install TBB library

# Ubuntu/Debian

sudo apt-get update

sudo apt-get install libtbb2 # or : sudo apt-get install libtbb-dev

# CentOS

sudo yum update

sudo yum install tbb # or: sudo yum install tbb-devel

https://pkgs.org/download/tbb