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

libgsl.so.25 potential issue #96

Open
AdamSorrel opened this issue Mar 28, 2022 · 7 comments
Open

libgsl.so.25 potential issue #96

AdamSorrel opened this issue Mar 28, 2022 · 7 comments

Comments

@AdamSorrel
Copy link

Hi,
I am not certain to which extent this is an issue, but I thought you might want to check it. Granted, I have my fastANI installed as a part of the GTDBTK package through anaconda so I reckon this could be their problem. In a nutshell the recipe in Anaconda required the gsl package to be >2.7, however the current generic version is 2.7.1 which provides only libgsl.so.27, which results in the following error:

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

Currently the workaround seems to be to downgrade to a gsl version 2.7, for example:

 mamba install -c conda-forge gsl=2.7=he838d99_0

Unfortunately I had to force a specific build, because just plain downgrading to 2.7 doesn't seem to cut it. I don't know if this might be some older version of fastANI in GTDBTK, in which case I would be happy to let them know to at least post this as a requirement in their installation.

Thanks a lot for the great program!

@cjain7
Copy link
Member

cjain7 commented Mar 29, 2022

I request you to inform GTDBTK authors as well. They may have a better solution in mind.

@rhysnewell
Copy link

Hi folks,

Looks like this might be an issue with the conda package for FastANI v1.33. Downgrading to v1.32 works fine but it requires the conda environment to be recreated due to package conflicts: Ecogenomics/GTDBTk#370

Cheers,
Rhys

@cjain7
Copy link
Member

cjain7 commented Mar 30, 2022

cc'ing @rpetit3 and @jlumpe

@cjain7
Copy link
Member

cjain7 commented Mar 30, 2022

We had recently updated conda recipe of FastANI #95

@rpetit3
Copy link

rpetit3 commented Mar 30, 2022

Try downgrading gsl to 2.6

@samnooij
Copy link

samnooij commented Jul 8, 2022

I ran into the same issue with FastANI version 1.33, installed via conda. Downgrading gsl did not work, but gave the error:

Encountered problems while solving:
  - package fastani-1.33-h0fdf51a_1 requires gsl >=2.7,<2.8.0a0, but none of the providers can be installed

What seemed to have worked is create a symbolic link from libgsl.so.27, which I did have, to libgsl.so.25. (In the directory /path/to/miniconda3/envs/fastani/lib/.) This can hardly be called a solution, but it is a workaround that seems to work for me now.

To install FastANI, I used the following YAML file:

name: fastani

channels:
- defaults
- bioconda
- conda-forge

dependencies:
- fastani=1.33

and the command mamba env create -f fastani.yaml

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

5 participants