Skip to content

TelSeq does not compile with modern versions of bamtools  #29

@stephan-hutter

Description

@stephan-hutter

Compilation aborts and I get the following error when trying to compile TelSeq with the current version (2.5.1) of bamtools:

g++ -Wall -Wextra -Wno-unknown-pragmas -g -O0 -std=c++11  -Wl,-rpath,/data/_stephan/bamtools-2.5.1/lib -L/data/_stephan/bamtools-2.5.1/lib -Wl,-rpath,/data/_stephan/bamtools-2.5.1/lib/bamtools -L/data/_stephan/bamtools-2.5.1/lib/bamtools   -o telseq telseq-telseq.o ../Util/libutil.a -lbamtools -lz
/usr/bin/ld: cannot find -lbamtools
collect2: error: ld returned 1 exit status

I assume the problem is that the library directory in bamtools changed from lib to lib64 at some point. Using bamtools 2.4.0 everything compiles cleanly.

Alternatively, I changed line 21 in src/configure.ac, replacing all instances of lib with lib64. That also fixed the problem and allows compilation with bamtools 2.5.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions