文件名:/usr/lib/找不到版本'OPENSSL_1_1_0'

nhn9ugyo  于 2023-01-13  发布在  其他
关注(0)|答案(1)|浏览(704)

安装openssl后,由于某种原因,pacmanyay开始返回以下内容:
吃豆人

pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libalpm.so.13)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libarchive.so.13)
pacman: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libcurl.so.4)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/libssh2.so.1)
pacman: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libssh2.so.1)

是-是

yay: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libalpm.so.13)
yay: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libarchive.so.13)
yay: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/libcurl.so.4)
yay: /usr/lib/libssl.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libcurl.so.4)
yay: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libcurl.so.4)
yay: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/libssh2.so.1)
yay: /usr/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/libssh2.so.1)

我该怎么办?

5t7ly7z5

5t7ly7z51#

同样的事情也发生在我身上。这个手动解决方案帮助了我:
https://archlinux.org/packages/core/x86_64/openssl-1.1/下载带有wget的openssl1.1软件包:

mkdir openssl
cd openssl
wget https://mirror.moson.org/arch/core/os/x86_64/openssl-1.1-1.1.1.s-4-x86_64.pkg.tar.zst

拆开 Package :

unzstd openssl-1.1-1.1.1.s-4-x86_64.pkg.tar.zst
tar -xvf openssl-1.1-1.1.1.s-4-x86_64.pkg.tar

现在将符号链接复制或创建到/usr/lib/。要创建符号链接:

ln -s usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1
ln -s usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1

要复制:

cp usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1
cp usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1

希望能有所帮助。

相关问题