Ensembl / WiggleTools

Basic operations on the space of numerical functions defined on the genome using lazy evaluators for flexibility and efficiency
Apache License 2.0
143 stars 25 forks source link

bioconda install #91

Open hanrong498 opened 1 year ago

hanrong498 commented 1 year ago

Hi!

I am trying to install wiggletools using conda directly https://anaconda.org/bioconda/wiggletools.

I had a small issue that

$ wiggletools --help
wiggletools: error while loading shared libraries: libgsl.so.19: cannot open shared object file: No such file or directory

It seems that the current default version of gsl is 2.7.1 and installation results in libgsl.so.27. A way to work around this is to downgrade libgsl:

conda install gsl=2.2.1

Hope this can save some time for ppl having the same problem!

dzerbino commented 1 year ago

Dear @hanrong498 ,

Thanks for the heads up!

It would seem that this problem is specific to your computer's setup, as neither Wiggletools nor its bioconda recipe specify a version for GSL. I am no conda expert, but it has possibly something to do with the way the package was built.

Cheers,

Daniel

alexbarrera commented 11 months ago

Just a heads up that the workaround provided by @hanrong498 pinging gsl=2.2.1 made me downgrade wiggletools to v1.2.1.

I was able to run the latest version of wiggletools after installing gsl via conda-forge with conda install -c conda-forge gsl.

rikrdo89 commented 9 months ago

I also was experiencing a similar issue after installing wiggletools with conda: wiggletools: error while loading shared libraries: libgsl.so.25: cannot open shared object file: No such file or directory

I figured out that libgsl.so.25 was installed if I specified gsl=2.6. However, installing using mamba was impossible because it made wiggletools dependent on gsl=2.7 or later. However installation with conda did not have the same issues:

image

here is the final command I used in case it is helpful to anyone:

conda install bioconda::wiggletools conda-forge::gsl=2.6