Closed wwood closed 5 years ago
Can you check if this worked before PR #111?
That pull request is only 2 weeks old, and I've been having trouble since at least 0.19.0. But for completion's sake I tried from current master and the commit before 9cf1c5274f5f349aa52c5e04e01e0ed09c9f339b. The same main error popped up, though the lead up was different in HEAD.
I'm also having problems building the musl target, but I'll mess around a bit more before reporting something.
I think this should be reporting with upstream cargo, as libclang is rather a cargo dependency, isn't it?
Or am I missing something?
I'm not sure, but I'm observing the same thing with bindgen
, so this doesn't seem like a rust-htslib thing. I'm assuming this might have something to do with clang-sys
, but updating the dependency tree didn't end in any joy. Maybe it isn't just fixed at the bottom.
Hi, Using more recent versions of rust-htslib I run into errors like this on my system while trying to build:
I can fix this by, as the instructions suggest, setting LIBCLANG_PATH e.g. like this
However, I'm not sure this should be necessary, because
~/.guix-profile/lib
is in my LIBRARY_PATH:Is it possible to get the build.rs to honour that? I say "more recent" because my (admittedly poor) memory tells me it used to work a year or two ago. Clearly, not that important an issue if it has taken me this long to raise an issue...
Thanks. ben