Hi all,
I am experiencing problems executing the binary file or building a executable for version 1.01 on a MAC. When the pre-built binary file was executed I receive the following error message:
sh-3.2# ./dindel-1.01-mac-os-x
dyld: Library not loaded: libboost_program_options-xgcc40-mt-1_37.dylib
Referenced from: /Users/johnsoong/Downloads/dindel-1.01-mac-os-x/binaries/./dindel-1.01-mac-os-x
Reason: image not found
Trace/BPT trap
When I try to rebuild from source (and having successfully installed BOOST libraries), I still receive error messages with the final lines (the build cannot produce a static library?) :
sh-3.2# make
g++ -o dindel -I/Users/johnsoong/Downloads/samtools-0.1.9/ -Iseqan_library/ -I./ -Wno-deprecated -O3 DInDel.o HapBlock.o HaplotypeDistribution.o ObservationModelFB.o GetCandidates.o Faster.o -L/Users/johnsoong/Downloads/samtools-0.1.9/ -lbam -lz -lboost_program_options -static
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
So I modified the Makefile file deleting the -static in LDFLAG. Still, the build failed with the following last line:
ld: symbol(s) not found
collect2: ld returned 1 exit status
I have specified the correct path to samtools source...
Would anyone know how to solve the issue? Thanks in advance.
csoong
I am experiencing problems executing the binary file or building a executable for version 1.01 on a MAC. When the pre-built binary file was executed I receive the following error message:
sh-3.2# ./dindel-1.01-mac-os-x
dyld: Library not loaded: libboost_program_options-xgcc40-mt-1_37.dylib
Referenced from: /Users/johnsoong/Downloads/dindel-1.01-mac-os-x/binaries/./dindel-1.01-mac-os-x
Reason: image not found
Trace/BPT trap
When I try to rebuild from source (and having successfully installed BOOST libraries), I still receive error messages with the final lines (the build cannot produce a static library?) :
sh-3.2# make
g++ -o dindel -I/Users/johnsoong/Downloads/samtools-0.1.9/ -Iseqan_library/ -I./ -Wno-deprecated -O3 DInDel.o HapBlock.o HaplotypeDistribution.o ObservationModelFB.o GetCandidates.o Faster.o -L/Users/johnsoong/Downloads/samtools-0.1.9/ -lbam -lz -lboost_program_options -static
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
So I modified the Makefile file deleting the -static in LDFLAG. Still, the build failed with the following last line:
ld: symbol(s) not found
collect2: ld returned 1 exit status
I have specified the correct path to samtools source...
Would anyone know how to solve the issue? Thanks in advance.
csoong
Comment