Installation problem
dleopold opened this issue · 1 comments
dleopold commented
I would like to test Pheniqs but I am having trouble compiling the program. When I clone the github directory and attempt to run make I get the following error:
drl@rhombus2 ~/software/pheniqs $ make
Generate command line interface configuration
Generate version.h with 1.0.a2b1725c3a8793fe13dc039efc20188418f94e77
clang++ -c -std=c++11 -O3 -Wall -Wsign-compare -c -o constant.o constant.cpp
clang++ -c -std=c++11 -O3 -Wall -Wsign-compare -c -o model.o model.cpp
clang++ -c -std=c++11 -O3 -Wall -Wsign-compare -c -o feed.o feed.cpp
clang++ -c -std=c++11 -O3 -Wall -Wsign-compare -c -o environment.o environment.cpp
clang++ -c -std=c++11 -O3 -Wall -Wsign-compare -c -o pipeline.o pipeline.cpp
clang++ -c -std=c++11 -O3 -Wall -Wsign-compare -c -o pheniqs.o pheniqs.cpp
clang++ constant.o model.o feed.o environment.o pipeline.o pheniqs.o -o pheniqs -lhts -lz
/usr/bin/ld: pipeline.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:81: recipe for target 'pheniqs' failed
make: *** [pheniqs] Error 1
I am not sure how to address this and assistance would be appreciated.
dleopold commented
Closing issue. I had a different version of HTSlib. Switched to HTSlib 1.4 and installation completed.