Pacman libcrypto.so.1.1 errors
[Solved] Hi, I'm currently getting an error pacman: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory lately after doing a pacman -Ssy. I bet that it's related to this but the problem is that I do not know how to fix it. Also how caused it? Bad update mirrors?
[Solution]
As pointed out by /u/igorpetrov, only thing needed to do is to install/reinstall openssl. So what you need to do is to boot into a live environment, mount the system drive using mount /dev/sdx /mnt where x is your drive letter and number, connect to the internet, and do pacstrap -i openssl. Afterwards to check that it's working, chroot into the drive and do something like pacman --help.
Edited 25 Apr 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 6 · 100% up
- Kind
- Text
- ID
- 67ef10
28 comments
tar doesn't need openssl, so you (I) can use that to instantiate a working version of openssl. No need for a live cd.
(edit: code format)
Saving lives after 6 years, thank you
btw what did you install that broke the openssl?
so true
I love you for this. Thanks
Thanks for this! Updated curl alone and got this issue.
You are literally god
If I could tip you for this comment I would
I'd give you gold for this.
Thanks buddy!
I know this is a few months old but a big fat THANK YOU from me too!
I love you
thank you (also use su if sudo does not work without openssl)
i just deleted openssl for some reason and this saved me
I've got pacman work again via Arch ISO and flash drive. Also at least one Steam game (GRID) broken because of that new opanssl. Not investigated yet.
Hi thank you for your comment! Can you post what you did exactly to fix the problem?
The steps are:
boot arch iso
mount root partition to virtual drive (same as during installation):
$ mount /mnt /dev/sdaXopensslto mounted drive:$ pacstrap -i /mnt openssl$ arch-chroot /mntFor example
$ pacman --helpshould work.Like the linked forum says, there was some issue yesterday with the mirrors syncing correctly. I saw the same issue last evening. Change the mirror you are using to something that is more current. Then find a way to get pacman working. You may use wget / curl on xfercommand if one of them was compiled using gnutls.
Tun a new pacman -Syu. Atleast yesterday, the issue always fixed itself within 30 minutes and a fresh update
What's a good mirror to use? Also, can I just do pacman -Syu using a live usb? Like mount the system and do pacman -Syu?
I use a German mirror, I think it is either leaseweb or rwth Aachen. Mine did finish the sync yesterday, so it should be fine. Else there's the mirror list status page on the website
And yes, you can mount on a live USB and update as well.
Thanks a lot for this post. I was going through the same issue and fixed it this way.
seems like
/usr/lib/libcrypto.so -> libcrypto.so.1.1instead of/usr/lib/libcrypto.so -> /usr/lib/libcrypto.so.1.1so justsudo ln -sf /usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.soThanks for the help, but I tried it out and pacman would still give me the same error.