使用线程增加库安装

时间:2012-12-17 17:56:17

标签: linux bioinformatics

我在linux上安装一个名为tophat的程序时遇到了一些麻烦(这里是安装指南http://tophat.cbcb.umd.edu/tutorial.html的链接),我希望你能提供帮助。它需要boost库和另一个名为samtools的程序才能运行,但两者似乎安装得很好,但我从这里得到了一个错误。从我看来似乎是没有正确安装boost库,特别是与线程有关,我做了一些谷歌搜索并返回并重新安装它们专门说明包含线程库但仍然没有骰子。有人可以帮忙吗?

这是我运行make的输出。

make all-recursive
make[1]: Entering directory `/home/tuxedo/tophat-2.0.6'
Making all in src
make[2]: Entering directory `/home/tuxedo/tophat-2.0.6/src'
g++ -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wuninitialized -O3 -DNDEBUG -pthread -    I../boost_1_52_0/boost.1.52.0//include -I../samtools_0.1.18//include -I./SeqAn-1.3 -o     segment_juncs -L../boost_1_52_0/boost.1.52.0//lib -L../samtools_0.1.18//lib segment_juncs.o     ../src/libtophat.a -lbam -lz
segment_juncs.o: In function `driver(std::basic_istream<char, std::char_traits<char> >&, _IO_FILE*, _IO_FILE*, _IO_FILE*, _IO_FILE*, std::basic_string<char,     std::char_traits<char>, std::allocator<char> >&, std::basic_string<char,     std::char_traits<char>, std::allocator<char> >&, std::vector<std::basic_string<char,     std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char,     std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char,     std::char_traits<char>, std::allocator<char> >&, std::basic_string<char,     std::char_traits<char>, std::allocator<char> >&, std::vector<std::basic_string<char,     std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char,     std::char_traits<char>, std::allocator<char> > > >&)':
/home/tuxedo/tophat-2.0.6/src/segment_juncs.cpp:4949: undefined reference to     `boost::thread::join()'
/home/tuxedo/tophat-2.0.6/src/segment_juncs.cpp:4950: undefined reference to     `boost::thread::~thread()'
/home/tophat-2.0.6/src/segment_juncs.cpp:5026: undefined reference to     `boost::thread::join()'
/home/tuxedo/tophat-2.0.6/src/segment_juncs.cpp:5027: undefined reference to     `boost::thread::~thread()'
/home/tuxedo/tophat-2.0.6/src/segment_juncs.cpp:4942: undefined reference to     `boost::thread::thread(boost::function0<void, std::allocator<boost::function_base> >     const&)'
/home/tuxedo/tophat-2.0.6/src/segment_juncs.cpp:5019: undefined reference to     `boost::thread::thread(boost::function0<void, std::allocator<boost::function_base> >     const&)'
collect2: ld returned 1 exit status
make[2]: *** [segment_juncs] Error 1
make[2]: Leaving directory `/home/tuxedo/tophat-2.0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tuxedo/tophat-2.0.6'
make: *** [all] Error 2

预先感谢您提供任何帮助!这让我疯狂了好几个小时!!

0 个答案:

没有答案