koijigen / question-and-answer

0 stars 0 forks source link

What is `libcrypto`? #4

Closed koijigen closed 1 year ago

koijigen commented 1 year ago
    What is `libcrypto`?

Originally posted by @koijigen in https://github.com/koijigen/question-and-answer/issues/1#issuecomment-1309858786

koijigen commented 1 year ago
$ sudo pacman -Ss libcrypto
core/openssl 3.0.7-2 [installed: 1.1.1.q-1]
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
core/openssl-1.1 1.1.1.s-2
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security

Does a package openssl contain libcrypto?

koijigen commented 1 year ago
$ sudo pacman -Ss libcrypto
core/openssl 3.0.7-2 [installed: 1.1.1.q-1]
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
core/openssl-1.1 1.1.1.s-2
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security

Does a package openssl contain libcrypto?

OK, I am going to reinstall openssl.

After that, I try command barrier again.

koijigen commented 1 year ago

?

I reinstalled openssl, and I try to reinstall barrier, I got error :

$ sudo pacman -S barrier
sudo: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
koijigen commented 1 year ago

Command sudo can not work by that error.

koijigen commented 1 year ago

Why? What is happening?

koijigen commented 1 year ago

I tried reboot system. At now, my Arch machine is under the kernel panic.

koijigen commented 1 year ago

At first, I should rescue my machine...

koijigen commented 1 year ago

Fixed the kernel panic.

koijigen commented 1 year ago

?

I reinstalled openssl, and I try to reinstall barrier, I got error :

$ sudo pacman -S barrier
sudo: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

Continue from there.

koijigen commented 1 year ago

Openssl's upgrade had finished by reinstalling openssl.

$ sudo openssl version
OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)

At now, I can see following libs at /usr/lib : libcrypto.so.1.1, libcrypto.so.3.

They were not exist before reInstalling the package openssl.

So, libcrypto is a library that is included the package openssl.

Done, close this issue.