Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • soofree
    Junior Member
    • Apr 2011
    • 3

    HELP! CASAVA_v1.7.0 Install error:pthread library not found

    Hi everyone,

    I've been trying to install CASAVA 1.7 and run into following errors when configuration.

    $../CASAVA_v1.7.0/src/configure

    cmake version "cmake version 2.8.0" is already installed at /usr/local/bio-soft/CASAVA_v1.7.0-build/bootstrap/bin/cmake
    nothing to be done
    Using installed /usr/local/bio-soft/CASAVA_v1.7.0-build/bootstrap/bin/cmake
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- install prefix: /usr/local
    -- install exec prefix: .
    -- install bin dir: ./bin
    -- install lib dir: ./lib/CASAVA-1.7.0
    -- install libexec dir: ./libexec/CASAVA-1.7.0
    -- install include dir: include/CASAVA-1.7.0
    -- install data dir: share/CASAVA-1.7.0
    -- install doc dir: doc/CASAVA-1.7.0
    -- install man dir: man
    -- Verifying target directories access
    -- Creating external tools in subdirectory opt
    -- Could NOT find Boost
    -- Boost 1.41.0 not found. Boost will be built from the distribution...
    Decompressing /usr/local/bio-soft/CASAVA_v1.7.0/src/../redist/boost_1_41_0.tar.gz
    Building Boost.Jam with toolset gcc... tools/jam/src/bin.linuxx86_64/bjam
    Unicode/ICU support for Boost.Regex?... not found.
    Backing up existing Boost.Build configuration in project-config.jam.1
    Generating Boost.Build configuration in project-config.jam...

    Bootstrapping is done. To build, run:

    ./bjam

    To adjust configuration, edit 'project-config.jam'.
    Further information:

    - Command line help:
    ./bjam --help

    - Getting started guide:


    - Boost.Build documentation:


    warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
    note: Please refer to the Boost.Regex documentation for more information
    note: this is a strictly optional feature.
    ...patience...
    ...patience...
    ...found 16182 targets...
    boost-1_41_0 installed successfully
    -- Successfuly built boost 1.41.0 from the distribution package...
    -- Installing Post-Run Command Framework
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    -- Looking for floorf
    -- Looking for floorf - found
    -- Looking for round
    -- Looking for round - found
    -- Looking for roundf
    -- Looking for roundf - found
    -- Looking for powf
    -- Looking for powf - found
    -- Looking for erf
    -- Looking for erf - found
    -- Looking for erf
    -- Looking for erf - found
    -- Looking for erfc
    -- Looking for erfc - found
    -- Looking for erfc
    -- Looking for erfc - found
    -- Found ZLIB header: /usr/include/zlib.h
    -- Found ZLIB library: /usr/lib/libz.so
    -- gzip compression supported
    -- Found BZIP2 header: /usr/include/bzlib.h
    -- Found BZIP2 library: /usr/lib/libbz2.so
    -- bzip2 compression supported
    -- pthread headers: /usr/include
    -- pthread library: PTHREAD_LIBRARY-NOTFOUND
    CMake Error at cmake/macros.cmake:87 (message):
    pthread library is required to build the CASAVA
    Call Stack (most recent call first):
    cmake/cxxConfigure.cmake:84 (casava_find_boost)
    c++/CMakeLists.txt:30 (include)


    -- Configuring incomplete, errors occurred!
    Couldn't configure the project:

    /usr/local/bio-soft/CASAVA_v1.7.0-build/bootstrap/bin/cmake -H"/usr/local/bio-soft/CASAVA_v1.7.0/src" -B"/usr/local/bio-soft/CASAVA_v1.7.0-build" -G"Unix Makefiles" -DCASAVA_PREFIX:PATH= -DCASAVA_EXEC_PREFIX:PATH= -DCMAKE_INSTALL_PREFIX:PATH= -DCASAVA_BINDIR:PATH= -DCASAVA_LIBDIR:PATH= -DCASAVA_LIBEXECDIR:PATH= -DCASAVA_INCLUDEDIR:PATH= -DCASAVA_DATADIR:PATH= -DCASAVA_DOCDIR:PATH= -DCASAVA_MANDIR:PATH= -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo

    Moving CMakeCache.txt to CMakeCache.txt.removed
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Not directly answering your question but is there a specific reason that you are trying to install pipeline v.1.7? Pipeline v.1.8 is out.

    Comment

    • soofree
      Junior Member
      • Apr 2011
      • 3

      #3
      Originally posted by GenoMax View Post
      Not directly answering your question but is there a specific reason that you are trying to install pipeline v.1.7? Pipeline v.1.8 is out.
      I have installed V1.8 , but some related scripts prefer v.1.7. Thank you for your replies.

      Regards,

      Comment

      • soofree
        Junior Member
        • Apr 2011
        • 3

        #4
        Originally posted by GenoMax View Post
        Not directly answering your question but is there a specific reason that you are trying to install pipeline v.1.7? Pipeline v.1.8 is out.
        The CASAVA 1.7 output is Illumina 1.3+ FASTQ format, Our script only support that format. However, CASAVA 1.8 gives out Sanger FASTQ files. I want to know if the CASAVA 1.8 FASTQ format supported by SOAP denovo and BWA directly?

        Comment

        • dweebis
          Junior Member
          • May 2009
          • 8

          #5
          Hi Soofree -

          I'm having the same issue - any resolution?

          Dweeb

          Comment

          • tgenahmet
            Member
            • Apr 2009
            • 11

            #6
            --static

            I ran into the same problem when I used --static while running configure. Removed --static and now it is past that step.

            Comment

            • Richard Finney
              Senior Member
              • Feb 2009
              • 701

              #7
              Lots of information but the critical lines here are

              -- pthread library: PTHREAD_LIBRARY-NOTFOUND
              CMake Error at cmake/macros.cmake:87 (message):
              pthread library is required to build the CASAVA

              You need the pthread library.

              Comment

              • weasteam
                Member
                • Dec 2008
                • 26

                #8
                Ho yeah, I am back with solutions:

                In linux, try following two lines in termnal:

                sudo ln -s /usr/lib/x86_64_linux_gun/lib2.so /usr/lib
                sudo ln -s /usr/lib/x86_64_linux_gun/libpth* /usr/lib

                Comment

                • sheenams
                  Member
                  • Oct 2011
                  • 15

                  #9
                  The two link commands worked for me. Just make sure you don't copy and paste as they both say 'gun' instead of 'gnu'

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 AM
                  • SEQadmin2
                    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                    by SEQadmin2



                    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                    ...
                    07-09-2026, 11:10 AM
                  • SEQadmin2
                    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                    by SEQadmin2



                    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                    07-08-2026, 05:17 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 07-24-2026, 12:17 PM
                  0 responses
                  16 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-23-2026, 11:41 AM
                  0 responses
                  18 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-20-2026, 11:10 AM
                  0 responses
                  24 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-13-2026, 10:26 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...