Installing Error with Compiler

29 views
Skip to first unread message

Chelsea Pretz

unread,
Aug 10, 2016, 3:56:41 PM8/10/16
to phlawd

Hi,


I am trying to install PHLAWD on a Mac and keeping running into an error... I did install homebrew because I was receiving missing omp.h erro, but the next lines are the trouble. If you have any suggestions, that would be great! I'm hoping it's an obvious one! The code is below.


Thanks,

Chelsea 


EBIO-C127-8M:src chpr8532$ make

Building target: PHLAWD

g++ -msse3 -DSSE2 -L../deps/linux -o "PHLAWD" sequence.o tree.o tree_reader.o node.o genedb.o tree_utils.o fasta_util.o SQLiteConstructor.o SQLiteProfiler.o SQLiteTreeNameConvertor.o SQLiteDBController.o SWPS3_DynProgr_scalar.o SWPS3_DynProgr_sse_byte.o SWPS3_DynProgr_sse_short.o SWPS3_debug.o SWPS3_fasta.o SWPS3_matrix.o SWPS3_swps3.o SmithWatermanGotoh.o GenBankReader.o main.o utils.o  -lm -lsqlitewrapped -lsqlite3 -fopenmp

ld: library not found for -lgomp

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [PHLAWD] Error 1


## Using a Mac so I tried that line of code too...

EBIO-C127-8M:src chpr8532$ make && sudo make install

Building target: PHLAWD

g++ -msse3 -DSSE2 -L../deps/linux -o "PHLAWD" sequence.o tree.o tree_reader.o node.o genedb.o tree_utils.o fasta_util.o SQLiteConstructor.o SQLiteProfiler.o SQLiteTreeNameConvertor.o SQLiteDBController.o SWPS3_DynProgr_scalar.o SWPS3_DynProgr_sse_byte.o SWPS3_DynProgr_sse_short.o SWPS3_debug.o SWPS3_fasta.o SWPS3_matrix.o SWPS3_swps3.o SmithWatermanGotoh.o GenBankReader.o main.o utils.o  -lm -lsqlitewrapped -lsqlite3 -fopenmp

ld: library not found for -lgomp

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [PHLAWD] Error 1

Reply all
Reply to author
Forward
0 new messages