Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • NicolaLosito
    Member
    • Apr 2012
    • 10

    compiling SRA Toolkit on a 64bit Ubunti machine

    Hi there, my first post here ... hope to have reached the right section of the forum.

    I wanted to install the latest SRA Toolkit on my 64bit Ubuntu server.

    While for the 2.1.8 release seems there are no apparent problems compiling it from souces (link) I do have them for the 2.1.10 (the latest as I am writing)...

    Code:
    $ uname -a
    
    Linux popeye 2.6.32-35-server #78-Ubuntu SMP Tue Oct 11 16:26:12 UTC 2011 x86_64 GNU/Linux
    and

    Code:
    $ cat /etc/lsb-release 
    
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=10.04
    DISTRIB_CODENAME=lucid
    DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
    after giving the make command the systems run then ends with these errors:

    Code:
    gcc -c  -D_DEBUGGING -g -m64  -std=c99 -ansi -pedantic -D_STATIC -DLINUX -DUNIX -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_ARCH_BITS=64 -DLIBPREFIX=lib -DSHLIBEXT=so -I/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load/linux -I/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load/unix -I/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/cc/gcc/x86_64 -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/cc/gcc -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/os/linux -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/os/unix -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/ext -MD -o writer-ion-torrent.o -Wall -Wno-variadic-macros /home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load/writer-ion-torrent.c
    gcc -c  -D_DEBUGGING -g -m64  -std=c99 -ansi -pedantic -D_STATIC -DLINUX -DUNIX -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_ARCH_BITS=64 -DLIBPREFIX=lib -DSHLIBEXT=so -I/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load/linux -I/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load/unix -I/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/cc/gcc/x86_64 -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/cc/gcc -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/os/linux -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/os/unix -I/home/nicola/Downloads/sra_sdk-2.1.10/interfaces/ext -MD -o fastq-fmt.o -Wall -Wno-variadic-macros /home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load/fastq-fmt.c
    gcc -o /home/nicola/sra/linux/dbg/gcc/x86_64/bin/fastq-load.2.1.13 -g -Wl,--export-dynamic pstring.o common-xml.o experiment-xml.o run-xml.o loader-file.o loader-fmt.o sra-writer.o loader.o writer-illumina.o writer-454.o writer-ion-torrent.o fastq-fmt.o -L/home/nicola/sra/linux/dbg/gcc/x86_64/lib -L/home/nicola/sra/linux/dbg/gcc/x86_64/ilib -Wl,-Bstatic -Wl,-whole-archive -lwsradb -lwsraxf -lkapp -lwvxf -lwvdb -lwkdb -lvfs -lkrypto -lkfg -lload -lkfs -lksrch -lkxml -lkxfs -lklib -lkproc -Wl,-no-whole-archive -Wl,-Bdynamic -lm -Wl,-Bstatic -Wl,-whole-archive -lkq -Wl,-no-whole-archive -Wl,-Bdynamic -lxml2 -lz -lbz2 -ldl -lpthread
    /usr/bin/ld: cannot find -lxml2
    collect2: ld returned 1 exit status
    make[3]: *** [/home/nicola/sra/linux/dbg/gcc/x86_64/bin/fastq-load] Error 1
    make[3]: Leaving directory `/home/nicola/sra/linux/dbg/gcc/x86_64/obj/tools/sra-load'
    make[2]: *** [std] Error 2
    make[2]: Leaving directory `/home/nicola/Downloads/sra_sdk-2.1.10/tools/sra-load'
    make[1]: *** [sra-load] Error 2
    make[1]: Leaving directory `/home/nicola/Downloads/sra_sdk-2.1.10/tools'
    make: *** [tools] Error 2
    Libxml2 is correctly installed on my machine as
    Code:
    dpkg -l libxml2
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                                 Version                              Description
    +++-====================================-====================================-========================================================================================
    ii  libxml2                              2.7.6.dfsg-1ubuntu1.4                GNOME XML library
    Anyone has an idea on how to solve this ?
    SysAdmin & ICT consultant
    http://about.me/nicola.losito
  • arvid
    Senior Member
    • Jul 2011
    • 156

    #2
    You probably need the libxml2-dev package as well, to get the include files for linking.

    Comment

    • NicolaLosito
      Member
      • Apr 2012
      • 10

      #3
      Seems that I've solved this alone.

      I tested the xml2 installation with:
      Code:
      xml2-config --prefix
      which gave me
      Code:
      The program 'xml2-config' is currently not installed.  You can install it by typing:
      sudo apt-get install libxml2-dev
      so I did and after having installed it the toolkit installed without any further issue!

      Thanks anyway!
      SysAdmin & ICT consultant
      http://about.me/nicola.losito

      Comment

      • NicolaLosito
        Member
        • Apr 2012
        • 10

        #4
        Originally posted by arvid View Post
        You probably need the libxml2-dev package as well, to get the include files for linking.
        Yes! you suggested me the right solution while I was writing down my previous post. Thanks !!!
        SysAdmin & ICT consultant
        http://about.me/nicola.losito

        Comment

        Latest Articles

        Collapse

        • seqadmin
          New Genomics Tools and Methods Shared at AGBT 2025
          by seqadmin


          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

          The Headliner
          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
          03-03-2025, 01:39 PM
        • seqadmin
          Investigating the Gut Microbiome Through Diet and Spatial Biology
          by seqadmin




          The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
          02-24-2025, 06:31 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 03-20-2025, 05:03 AM
        0 responses
        17 views
        0 reactions
        Last Post seqadmin  
        Started by seqadmin, 03-19-2025, 07:27 AM
        0 responses
        18 views
        0 reactions
        Last Post seqadmin  
        Started by seqadmin, 03-18-2025, 12:50 PM
        0 responses
        19 views
        0 reactions
        Last Post seqadmin  
        Started by seqadmin, 03-03-2025, 01:15 PM
        0 responses
        185 views
        0 reactions
        Last Post seqadmin  
        Working...