Sorry, I just saw these messages. Set your LD_LIBRARY_PATH=<bamtools lib="" dir="">; <hts lib="" dir=""></hts></bamtools> And it should then work for you.