# Error while loading shared libraries: libcrypto.so.1.1

**URL:** <https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553>\
**Category:** Newbie\
**Created:** [November 5, 2022, 11:50am UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553 "2022-11-05T11:50:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkaplan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bkaplan/32/5979_2.png) [@bkaplan](https://forum.endeavouros.com/u/bkaplan)\
**Post date:** [November 5, 2022, 11:50am UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/1 "2022-11-05T11:50:56Z")

</div>

I just tried to update my system and the konsole window auto-closed mid-update without providing any warning. When I try to repeat the update, I am given the following error:

sudo: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Running ls -l libcrypto\* of my /usr/lib directory gives the following:

lrwxrwxrwx 1 root root 20 Aug 9 13:03 libcryptopp.so → libcryptopp.so.8.7.0  
lrwxrwxrwx 1 root root 20 Aug 9 13:03 libcryptopp.so.8 → libcryptopp.so.8.7.0  
-rwxr-xr-x 1 root root 4382736 Aug 9 13:03 libcryptopp.so.8.7.0  
lrwxrwxrwx 1 root root 14 Nov 1 14:21 libcrypto.so → libcrypto.so.3  
-r-xr-xr-x 1 root root 2828704 Jan 25 2020 libcrypto.so.1.0.0  
-rwxr-xr-x 1 root root 4484080 Nov 1 14:21 libcrypto.so.3

I’m afraid to reboot into a failed update and I’m not sure what next to do.

I’m not sure what logs to provide, or what next to do. Thanks very much for any guidance.

-Barry

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 11:54am UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/2 "2022-11-05T11:54:26Z")

</div>

There was this thread with somewhat similar issue:

> [@Kernel panic libcrypto.so.3](https://forum.endeavouros.com/t/kernel-panic-libcrypto-so-3/33549):
>
> Hi, I just upgraded my system and did a restart but now I’m getting a kernel panic “/init: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory”.

---

<div class="post-metadata">

**Author:** ![bkaplan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bkaplan/32/5979_2.png) [@bkaplan](https://forum.endeavouros.com/u/bkaplan)\
**Post date:** [November 5, 2022, 11:58am UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/3 "2022-11-05T11:58:34Z")

</div>

I saw that, but it was a different error with a different libcrypto.so reference, so I was unsure it was applicable. Is it? If so, I’m going to need some assistance with implementing the solution.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 12:06pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/4 "2022-11-05T12:06:50Z")

</div>

I haven’t had this issue myself. Searching in Arch forum, there seems to be quite a few suggestions to resolve this.

One is to refresh the mirrors and try `sudo pacman -Syyu` to ensure that the system is not in a partial upgrade state.

You might want to try that first and see how it fares.

> [https://bbs.archlinux.org/search.php?search\_id=1494902342](https://bbs.archlinux.org/search.php?search_id=1494902342)

---

<div class="post-metadata">

**Author:** ![bkaplan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bkaplan/32/5979_2.png) [@bkaplan](https://forum.endeavouros.com/u/bkaplan)\
**Post date:** [November 5, 2022, 12:14pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/5 "2022-11-05T12:14:10Z")

</div>

I’ve tried to update mirrors and sudo pacman -Syyu, but any command I issue with sudo is met with the same error. Does this mean I’ll need to chroot in to accomplish this? That strikes terror in my soul, but I’ll try if that’s what’s needed …

Thanks, @pebcak

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 12:21pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/6 "2022-11-05T12:21:03Z")

</div>

> [@bkaplan](#):
>
> any command I issue with sudo is met with the same error.

Well, this i a bit beyond my reach.  
Honestly, I can’t tell if the issue can be resolved from the chroot. It might.

I would leave things as they are for the moment and wait for more competent users to chime in.  
The upgrade to openssl 3.0.7-2 is apparently causing issues in some systems and most probably more information will be coming in on how to resolve it.

Sorry for not being of more help @bkaplan .

---

<div class="post-metadata">

**Author:** ![ringo](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ringo/32/66182_2.png) [@ringo](https://forum.endeavouros.com/u/ringo)\
**Post date:** [November 5, 2022, 12:31pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/7 "2022-11-05T12:31:05Z")

</div>

mayby crypto++ is outdated ? also dont see any bond with openssl en crypto++ its a openssl issue atleast

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 12:38pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/8 "2022-11-05T12:38:03Z")

</div>

> [@ringo](#):
>
> also dont see any bond with openssl

openssl provides libcrypto.so:

```auto
$ pacman -Ql openssl | grep libcrypto
openssl /usr/lib/libcrypto.so
openssl /usr/lib/libcrypto.so.3
openssl /usr/lib/pkgconfig/libcrypto.pc

```

Apparently, here something has gone wrong since sudo is looking to load the older `libcrypto.so.1.1`.

```auto
$ pactree sudo | grep openssl 
├─openssl
│ │ │ │ └─openssl
│ │ │ └─openssl
├─openssl provides libcrypto.so=3-64
└─openssl provides libssl.so=3-64

```

---

<div class="post-metadata">

**Author:** ![Zircon34](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/zircon34/32/135623_2.png) [@Zircon34](https://forum.endeavouros.com/u/Zircon34)\
**Post date:** [November 5, 2022, 12:38pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/9 "2022-11-05T12:38:30Z")

</div>

Seems this post has a solution?

> [@Kernel panic libcrypto.so.3](https://forum.endeavouros.com/t/kernel-panic-libcrypto-so-3/33549/6):
>
> I had the same error. You need to build the zfs-utils package again. This will pull the new crypto library. I had to boot into a live environment, chroot into my system and do it there.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 12:41pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/10 "2022-11-05T12:41:06Z")

</div>

[Click me!](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/2)  
🖱

---

<div class="post-metadata">

**Author:** ![Zircon34](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/zircon34/32/135623_2.png) [@Zircon34](https://forum.endeavouros.com/u/Zircon34)\
**Post date:** [November 5, 2022, 12:46pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/11 "2022-11-05T12:46:18Z")

</div>

It’s the multiverse. No way around it.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [November 5, 2022, 1:47pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/12 "2022-11-05T13:47:09Z")

</div>

@bkaplan

What does it show?

```auto
sudo pacman -Syu

```

---

<div class="post-metadata">

**Author:** ![bkaplan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bkaplan/32/5979_2.png) [@bkaplan](https://forum.endeavouros.com/u/bkaplan)\
**Post date:** [November 5, 2022, 1:49pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/13 "2022-11-05T13:49:25Z")

</div>

Any command that uses sudo results in the same error message:

sudo: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [November 5, 2022, 1:55pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/14 "2022-11-05T13:55:29Z")

</div>

Did you try installing openssl-1.1

Edit: Supposedly it provides libcrypto.so.1.1

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 1:56pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/15 "2022-11-05T13:56:54Z")

</div>

> [@ricklinux](#):
>
> Did you try installing openssl-1.1

His sudo is not working 😉

> [@bkaplan](#):
>
> Any command that uses sudo results in the same error

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [November 5, 2022, 1:58pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/16 "2022-11-05T13:58:55Z")

</div>

Would need to download the tar package and update with pacman command?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 2:00pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/17 "2022-11-05T14:00:02Z")

</div>

> [@ricklinux](#):
>
> update with pacman command?

It needs sudo, doesn’t it?

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [November 5, 2022, 2:02pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/18 "2022-11-05T14:02:13Z")

</div>

Not sure if pacman -U needs it? I’ve only used it a couple of times.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [November 5, 2022, 2:02pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/19 "2022-11-05T14:02:53Z")

</div>

Of course it does. It needs to make changes to the system.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [November 5, 2022, 2:03pm UTC](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553/20 "2022-11-05T14:03:36Z")

</div>

Okay then… sudo is screwed. 😆

[Next page](https://forum.endeavouros.com/t/error-while-loading-shared-libraries-libcrypto-so-1-1/33553.md?page=2)
