[Bioperl-l] Trouble installing BIo:DB:SAM tools
Lalitha Viswanathan
lalitha.viswanathan79 at gmail.com
Tue Apr 16 06:10:14 EDT 2013
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
More information about the Bioperl-l
mailing list