Skip to content

error adding symbols: File format not recognized #279

@svm-zhang

Description

@svm-zhang

Hello,

I am very new to rust and rust-htslib.

I am trying to use rust-htslib to extract alignment information from BAM files for my project. I keep getting "error adding symbols: File format not recognized" errors when running cargo run (see below). I am using the example from: https://docs.rs/rust-htslib/0.32.0/rust_htslib/. The error seems to be related to decompression I guess? I am able to build basic projects such as "hello world". I am on CentOS 8.2.2004. Any help would be much appreciated!

target/debug/deps/libhts_sys-26e72ed60472137f.rlib(bgzf.o): unable to initialize decompress status for section .debug_info
target/debug/deps/libhts_sys-26e72ed60472137f.rlib: error adding symbols: File format not recognized

Simo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions