DiltheyLab / MetaMaps

Long-read metagenomic analysis
Other
96 stars 23 forks source link

boost_math_c99 compiling error #76

Open albenstein opened 3 months ago

albenstein commented 3 months ago

On our HPC system we try to compile metamaps but we get error like below:

root@login:/cta/capps/work/MetaMaps# ./configure --with-boost=/cta/apps/opt/spack/linux-ubuntu16.04-broadwell/gcc-5.4.0/boost-1.76.0-qyjuguw6mex737svicbsshbn6vg5hsop --prefix=/cta/capps/metamaps/latest

root@login:/cta/capps/work/MetaMaps# make metamaps g++ -c -O2 -ggdb -fopenmp -std=c++11 -Isrc -L /cta/apps/opt/spack/linux-ubuntu16.04-broadwell/gcc-5.4.0/boost-1.76.0-qyjuguw6mex737svicbsshbn6vg5hsop/lib -I /cta/apps/opt/spack/linux-ubuntu16.04-broadwell/gcc-5.4.0/boost-1.76.0-qyjuguw6mex737svicbsshbn6vg5hsop/include -include src/common/memcpyLink.h -Wl,--wrap=memcpy -DUSE_BOOST -o src/map/mash_map.o src/map/mash_map.cpp g++ -O2 -ggdb -fopenmp -std=c++11 -Isrc -L /cta/apps/opt/spack/linux-ubuntu16.04-broadwell/gcc-5.4.0/boost-1.76.0-qyjuguw6mex737svicbsshbn6vg5hsop/lib -I /cta/apps/opt/spack/linux-ubuntu16.04-broadwell/gcc-5.4.0/boost-1.76.0-qyjuguw6mex737svicbsshbn6vg5hsop/include -include src/common/memcpyLink.h -Wl,--wrap=memcpy -DUSE_BOOST src/map/mash_map.o -o metamaps -lstdc++ -fopenmp -lz -lm -lpthread -lboost_system -lboost_filesystem -lboost_serialization -lboost_regex -lboost_math_c99 /usr/bin/ld: cannot find -lboost_math_c99 collect2: error: ld returned 1 exit status Makefile:20: recipe for target 'metamaps' failed make: *** [metamaps] Error 1