Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcftools: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory #1698

Closed
eudesbarbosa opened this issue Apr 8, 2022 · 4 comments

Comments

@eudesbarbosa
Copy link

Hello. I'm having some issue installing and running bcftools after the most recent release (v1.15). And pinning the package to the previous version doesn't help.

Anyone faced something similar? Any hints on how to proceed?

Error:

bcftools: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory

Dependency difference
...works (from previous log):

2022-03-03T14:32:50.9725381Z + gsl 2.7 he838d99_0 conda-forge/linux-64 3MB

...breaks (from current log):

2022-03-23T09:01:56.7405052Z + gsl 2.7.1 hd82f3ee_0 pkgs/main/linux-64 2MB

...also forcing gsl ==2.7 or gsl ==2.7.0 just leads to a different error message (log):

bcftools: symbol lookup error: /usr/share/miniconda/envs/__setup_conda/bin/../lib/libgsl.so.25: undefined symbol: cblas_ctrmv
@pd3
Copy link
Member

pd3 commented Apr 8, 2022

This is a problem with conda installation. Apparently the program was compiled with --enable-libgsl but the dependency on libgsl is not met on your system. I cannot help with conda (failed many times trying to install something myself), but bcftools is easy to obtain and compile from source: http://www.htslib.org/download/

@eudesbarbosa
Copy link
Author

@pd3 , thank you for the quick reply. I will transfer the issue to conda people.

@swvanderlaan
Copy link

This issue remains (https://www.biostars.org/p/9480029/#9573995). Is there no way of solving this through conda that anyone is aware of?

@jkbonfield
Copy link
Contributor

jkbonfield commented Sep 4, 2023

It's a perennial conda issue. I see the question you posted to biostars has already been answered, but this is a closed issue here already. (Note it would have been good if you'd updated your question here stating you already had a solution.)

Generally, for issues like this which aren't bugs specifically with our software and are instead errors caused by using prebuilt binaries supplied elsewhere with configuration problems, it's best to seek help on either conda-specific forums or biostars before raising (or resurrecting) issues here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants