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
samtools 1.9 dependency pulls in wrong version of openssl #12100
Comments
turns out that I had the channels in the wrong order. That will probably fix it |
I am having this exact same issue - how did you solve it precisely? |
I had put the channels into my
|
Thanks a bunch, that worked! |
This also worked for me after the same problems with https://bioconda.github.io/recipes/angsd. Many thanks! |
This is because the samtools 1.9 depends on openssl 1.0.x (I hope the next version will support or just change the shared library name) and openssl 1.1.x was installed,if you must keep the openssl 1.1.x version, a possible solution is :
|
This has just recently crept back up for me even with channels in the correct order. Can someone post a working Debian Stretch Dockerfile with Bioconda Samtools? |
@leipzig not debian but a container: https://quay.io/repository/biocontainers/samtools?tag=latest&tab=tags Does this help? |
So for me it did creep up when setting channels via the commandline using |
For me, changing the channel order did not help. But I was able to solve the problem by explicitly downgrading
|
Here is a Dockerfile that works using @hdetering recipe:
|
Just download an old version openssl and copy the libcrypto.so.1.0.0 to the lib file. It's work for me. |
This fixed the issue for me. I hope there will be a better permanent solution soon rather than downgrading openssl |
I had a very similar issue with DESeq2 which had a depends upon GenomeInfoDb which depended up RCurl which linked to libssl.so.1.0.0:
Downgrading to openssl 1.0 fixed the issue for me as well.
Thanks, @hdetering ! |
Hello, same problem solved with @leipzig solution Thanks! |
EDIT: I was pulling an old Docker image by mistake instead of my updated image. Installing openssl v1.0 did indeed fix this problem. I'm having this problem. I've tried explicitly downgrading openssl to version 1.0, but the same error appears.
I've also tried installing them in the same command:
As well as downgrading samtools itself:
Nevertheless I get the same error every time:
Any more ideas? |
Sorry, did you run this in Docker? What base image did you choose? |
@patrickturko this is my recipe in singularity and it works: BootStrap: docker %setup
%post
%environment |
@leipzig yes, this is in Docker, but actually I was mistaken about the bug. See my edit. |
In case you missed it, can you try the same commands you were using initially (without the workarounds?). If #13909 is correct the problem should no longer occur. |
This old bug also popped up on our side. And I'm not sure how to fix this from the maintainer viewpoint. We have the drop package which depends on
This should not be past to the end-user as @pb-cdunn already said. Should we as a package maintainer then rather fix the version numbers in our recipes or is there another place we as a maintainer can ensure the correct versions are installed? |
This is not something that can be fixed without switching to mamba. The conda solver provides incorrect solutions in a number of cases, for which this is an example. |
Thank you so much Devon. |
This problem seems to keep cropping up. I upgraded my
So, if you're arriving here because your Trinity install broke, try this first. |
Running the latest container for unicycler 0.4.8 fails with `Error: Unspecified error with Unicycler dependencies`. Running the container as: ``` docker run -it quay.io/biocontainers/unicycler:0.4.8--py38h8162308_1 ``` and subsequently running samtools in the container, throws the following error: ``` samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory. ``` Appears to be caused by: bioconda#12100 Rebuilding the container seems to work, as samtools gets updated to v1.10, which is compatible with libssl 1.1
* Update unicycler container Running the latest container for unicycler 0.4.8 fails with `Error: Unspecified error with Unicycler dependencies`. Running the container as: ``` docker run -it quay.io/biocontainers/unicycler:0.4.8--py38h8162308_1 ``` and subsequently running samtools in the container, throws the following error: ``` samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory. ``` Appears to be caused by: #12100 Rebuilding the container seems to work, as samtools gets updated to v1.10, which is compatible with libssl 1.1 * add tests Co-authored-by: Björn Grüning <bjoern@gruenings.eu>
Hi guys, If you are still suffering from the env related issue of falcon, maybe you would like to try this frozen environment of mine, which works well through 2-asm stage. Simply unzip "pb-assembly.yml.zip", then The order of the channel is very important. Please do not change the order unless you have a clear reason. |
If you are using a conda env, simply use
|
Attempting this produced this error for me:
This is the first time I've ever seen a message like this... Any explanation or workaround would be greatly appreciated. Thanks in advance! |
This solved it for me. In short, I (running Bismark in an AWS' Sagemaker Linux environment) ran and it fixed the dependencies. |
HOWWWW????? pls |
This comment was marked as outdated.
This comment was marked as outdated.
@PilarLF please check your conda channel order. https://bioconda.github.io/user/install.html#set-up-channels |
i've already change it: |
In general all releases starting with samtools 1.10 should have the appropriate pinnings and therefore pull in the correct openssl version. We have no other way to fix this until Anaconda finally hopefully someday enables repodata patching for our project. |
You can try: |
thank you for your quick reply!! I''ve tried all suggestions but it keeps failling :c now this is personal |
After trying all suggestions, only this seems to work for me!! thank you very much |
samtools
fails to run successfully due to a mismatch in library versions. The samtools executable is expectinglibcrypto.so.1.0.0
but openssl 1.1.1 is getting installed, which haslibcrypto.so.1.1.1
.The text was updated successfully, but these errors were encountered: