Runtime Error while using the Bamtools API

164 views
Skip to first unread message

Sanjaya Lakmal

unread,
Jul 27, 2015, 7:54:09 AM7/27/15
to bamtools-user
I have recently started to develop a C++ program to process BAM files. I just configured Bamools on linux and tried to run a simple code using following command.


 g++ -I /home/sanjaya/bamtools/include/ -L /home/sanjaya/bamtools/lib/ -o programme programme.cpp -lz -lbamtools

It was compiled without any problem but when I tried to run it, gave me this error.

./programmes: error while loading shared libraries: libbamtools.so.2.4.0: cannot open shared object file: No such file or directory

I am completely new to using Bamtools. So, please can anyone help me on this regard.
Reply all
Reply to author
Forward
0 new messages