Subject: | Trouble installing BIo:DB:SAM tools |
Date: | Tue, 16 Apr 2013 13:21:59 +0530 |
To: | bug-Bio-SamTools [...] rt.cpan.org |
From: | Lalitha Viswanathan <lalitha.viswanathan79 [...] gmail.com> |
Hi
I am trying to install Bio::DB::SAM tools version 1.37 on ubuntu 12,10
I have BioPerl 1.6 installed and working fine
I installed samtools-0.1.19 as below
a) make
b) Then ran perl Build.PL in Bio::DB::SAM tools version 1.37
c) ./Build install throws below error
/usr/bin/ld: /home/lalitha/Documents/samtools-0.1.19/libbam.a(bgzf.o):
relocation R_X86_64_32S against `.rodata.str1.1' can not be used when
making a shared object; recompile with -fPIC
/home/lalitha/Documents/samtools-0.1.19/libbam.a: could not read symbols:
Bad value
collect2: error: ld returned 1 exit status
error building blib/arch/auto/Bio/DB/Sam/Sam.so from lib/Bio/DB/Sam.o
c_bin/bam2bedgraph.o at /usr/share/perl/5.14/ExtUtils/CBuilder/Base.pm line
312.
d) Same error is encountered when building through cpan
Any help will be appreciated
Thanks
Lalitha