zhaoyanswill / RAPSearch2

Reduced Alphabet based Protein similarity Search
40 stars 15 forks source link

undefined symbols error when compiling on MacOSX 10.6 #15

Open pcantalupo opened 9 years ago

pcantalupo commented 9 years ago

Hello,

I'm trying to install Rapsearch2 on a MacOSX 10.6 (snow leopard). I have g++ version 4.9.2. I get the following output when I run install

RAPSearch installer
rm -f *.o rapsearch prerapsearch
g++ -c -O3 -w  HashSearch.cpp -o HashSearch.o -I ./
g++ -c -O3 -w  BlastStat.cpp -o BlastStat.o -I ./
g++ -c -O3 -w  Seg.cpp -o Seg.o -I ./
g++ -c -O3 -w  mergeUnit.cpp -o mergeUnit.o -I ./
g++ -O3 -w  -o rapsearch main.cpp HashSearch.o BlastStat.o Seg.o mergeUnit.o -I ./ -L ./ -lboost_serialization -lpthread -lboost_thread -lboost_system -lboost_chrono
Undefined symbols:
  "boost::serialization::typeid_system::extended_type_info_typeid_0::type_register(std::type_info const&)", referenced from:

...alot of deleted output...

ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make: *** [rapsearch] Error 1
mv: rename Src/rapsearch to bin/rapsearch: No such file or directory
mv: rename Src/prerapsearch to bin/prerapsearch: No such file or directory

Thank you for your help,

Paul

zhaoyanswill commented 9 years ago

Hi Paul,

Please check this (https://github.com/zhaoyanswill/RAPSearch2/issues/3) to install RAPSearch2 on MacOS. Thanks!

Sincerely, Y. Z.

On 04/02/2015 09:15 AM, pcantalupo wrote:

Hello,

I'm trying to install Rapsearch2 on a MacOSX 10.6 (snow leopard). I have g++ version 4.9.2. I get the following output when I run |install|

|RAPSearch installer rm -f *.o rapsearch prerapsearch g++ -c -O3 -w HashSearch.cpp -o HashSearch.o -I ./ g++ -c -O3 -w BlastStat.cpp -o BlastStat.o -I ./ g++ -c -O3 -w Seg.cpp -o Seg.o -I ./ g++ -c -O3 -w mergeUnit.cpp -o mergeUnit.o -I ./ g++ -O3 -w -o rapsearch main.cpp HashSearch.o BlastStat.o Seg.o mergeUnit.o -I ./ -L ./ -lboost_serialization -lpthread -lboost_thread -lboost_system -lboost_chrono Undefined symbols: "boost::serialization::typeid_system::extended_type_info_typeid_0::type_register(std::type_info const&)", referenced from:

...alot of deleted output...

ld: symbol(s) not found collect2: error: ld returned 1 exit status make: *\ [rapsearch] Error 1 mv: rename Src/rapsearch to bin/rapsearch: No such file or directory mv: rename Src/prerapsearch to bin/prerapsearch: No such file or directory |

Thank you for your help,

Paul

— Reply to this email directly or view it on GitHub https://github.com/zhaoyanswill/RAPSearch2/issues/15.