Hello,

I've found what I believe to be a system-specific issue in the
tabix-0.2.6/perl/Makefile.PL

On my Ubuntu 12.04.1 LTS virtual machine, after running

perl Makefile.PL
make && make install

the module installs correctly, but on attempting to use the tabix_query()
subroutine, I get either a segfault or the following error (depending on
the system):

perl: symbol lookup error: /usr/local/lib/perl/5.14.2/auto/Tabix/Tabix.so:
undefined symbol: inflateInit2_

A bit of googling led me to find that the order of included libs in the
Makefile can cause issues, so I changed it:

sed -i.bak "s/-lz -L.. -ltabix/-L.. -ltabix -lz/" Makefile.PL

and re-ran make etc. The problem then goes away and everything runs as
expected.

The problem was also manifesting in a TravisCI build of a package I'm
testing that depends on Tabix.pm, and again it is resolved by changing the
order of included libs.

If this doesn't affect other systems (which in my tests so far it doesn't),
could this change be included in the main package so that a) I don't have
to do this sed as part of my Travis build and b) I won't get the inevitable
flood of emails with this same problem when we release our package?

Regards

Will McLaren
Ensembl Variation
EMBL-EBI
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to