Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem running Dindel on MacOSX 10.6.4

    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

  • #2
    problem resolved. I removed the -static in LDFLAG and the build worked. I don't know how I got this to work because I tried this several times and didn't work. Dindel is working properly now.

    Comment


    • #3
      I want to add a note for users experiencing similar problems. I ran into the issue again on another mac pro today. And this time instead of not knowing how it suddenly worked, I actually made it work. First of all, my configuration for boost library was done through macport and i have samtools installed as well.

      It turns out that the linker and compiler could not find out the correct path to the installed boost library and its headers, so in the Makefile i had to speciafically add in the path that points to booth library, both for the header path as well as the linker path. usually the included path should look like this if using mac ports:
      /opt/local/lib for linker path
      /opt/local/include for header path

      good luck.

      oh yes... remember to remove the static flag in Makefile as well.

      Comment


      • #4
        Could you please paste your Makefile here, that would be a great help. Thanks.

        Comment


        • #5
          SAMTOOLDIR=/Users/rich/Downloads/samtools-0.1.12a/
          #/nfs/users/nfs_c/caa/source/samtools/
          SEQANDIR=seqan_library/

          CPPFLAGS= -DNDEBUG -D_IOLIB=2 -DMINREADS=2 -DDINDEL
          CXXFLAGS= -I$(SAMTOOLDIR) -I$(SEQANDIR) -I./ -I/opt/local/include/ -I/opt/local/lib/ -Wno-deprecated -O3
          LDFLAGS= -L$(SAMTOOLDIR) -L/opt/local/lib/ -lbam -lz -lboost_program_options

          SRCSDINDEL=DInDel.cpp HapBlock.cpp HaplotypeDistribution.cpp ObservationModelFB.cpp GetCandidates.cpp Faster.cpp
          OBJSDINDEL=$(SRCSDINDEL:%.cpp=%.o)

          dindel:$(OBJSDINDEL) Read.hpp DInDel.hpp HapBlock.hpp Haplotype.hpp HaplotypeDistribution.hpp MyBam.hpp GetCandidates.hpp Variant.hpp Fasta.hpp OutputData.hpp MLAlignment.hpp ObservationModelSeqAn.hpp VariantFile.hpp ReadIndelErrorModel.hpp Library.hpp Faster.hpp
          $(CXX) -o $@ $(CXXFLAGS) $(DINDELFLAGS) $(OBJSDINDEL) $(LDFLAGS)

          clean:
          rm -f $(OBJSDINDEL) $(OBJSCOMPAREVARIANTS) $(OBJSMAKEGLF)

          Comment


          • #6
            Thanks for the information. I got dindel installed.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 08:47 AM
            0 responses
            9 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            57 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            53 views
            0 likes
            Last Post seqadmin  
            Working...
            X