Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Flexbar Error
curl -sL https://github.com/seqan/flexbar/archive/v2.7.0.tar.gz | tar xz
# Download required libraries
curl -sL https://www.threadingbuildingblocks.org/sites/default/files/software_releases/linux/tbb2017_20161128oss_lin_0.tgz | tar xz
curl -sL https://github.com/seqan/seqan/releases/download/seqan-v2.1.1/seqan-library-2.1.1.tar.xz | tar xJ
mv tbb2017_20161128oss/include flexbar-2.7.0
mv seqan-library-2.1.1/include/* flexbar-2.7.0/include
cd flexbar-2.7.0
cmake .
make
# Script version
# if [ ! -d "flexbar" ]; then
# echo "⬇ ${green} Download & Install flexbar 2.7${reset}"
# echo Start at `date` >> install_logs/flexbar_install.log 2>&1
# curl -sL https://github.com/seqan/flexbar/archive/v2.7.0.tar.gz | tar xz >> install_logs/flexbar_install.log 2>&1
# # Download required libraries
# curl -sL https://www.threadingbuildingblocks.org/sites/default/files/software_releases/linux/tbb2017_20161128oss_lin_0.tgz | tar xz
# curl -sL https://github.com/seqan/seqan/releases/download/seqan-v2.1.1/seqan-library-2.1.1.tar.xz | tar xJ >> install_logs/flexbar_install.log 2>&1
# mv tbb2017_20161128oss/include flexbar-2.7.0 >> install_logs/flexbar_install.log 2>&1
# mv seqan-library-2.1.1/include/* flexbar-2.7.0/include >> install_logs/flexbar_install.log 2>&1
# cd flexbar-2.7.0
# cmake . >> ../install_logs/flexbar_install.log 2>&1
# make >> ../install_logs/flexbar_install.log 2>&1
# cd ..
# fi
@paulklemm

This comment has been minimized.

Copy link
Owner Author

@paulklemm paulklemm commented Dec 13, 2016

Error

[ 50%] Linking CXX executable ../flexbar
/usr/bin/ld: cannot find -ltbb
collect2: error: ld returned 1 exit status
src/CMakeFiles/flexbar.dir/build.make:96: recipe for target 'flexbar' failed
make[2]: *** [flexbar] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/flexbar.dir/all' failed
make[1]: *** [src/CMakeFiles/flexbar.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment