Moderator Control Panel ]

System corruption after yum update

System corruption after yum update

Postby SPiKeGoD » Wed Sep 19, 2018 3:34 am

Hello!

I have made a yum update and now it is impossible to run OpenSSH,openssl, ...

The error is:
ssh: /lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by ssh)
openssl: /lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by openssl)

I tried to make a yum history rollback and a yum history undo but it was not possible to solve the problem.

I tried to erase and reinstall openssh-server and openssl but it is the same...

My Centos version is:
[root@localhost tmp]# hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 0606f6f6ea0347c59f401379a356de18
Boot ID: cabfe854cbce4e208b229988663e9939
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-862.11.6.el7.x86_64
Architecture: x86-64
SPiKeGoD
 
Posts: 17
Joined: Wed Mar 29, 2017 2:44 am

Re: System corruption after yum update

Postby esimotas » Mon Sep 24, 2018 11:41 pm

Doing

Code: Select All Code
# which openssl
/usr/bin/openssl
# ldd /usr/bin/openssl
/usr/bin/openssl: /lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /usr/bin/openssl)
...

Openssl is trying to find libcrypto.so.10 in /lib folder - it should be looking in /lib64 folder (or /usr/lib64 ).
Quick fix: tell linker to look into /lib64 for openssl libs
Code: Select All Code
# echo "/lib64" > /etc/ld.so.conf.d/openssl.conf
# ldconfig

You should now be able to run openssl. Do similar approach for ssh.
esimotas
 
Posts: 4
Joined: Tue Sep 18, 2018 6:32 pm


Return to MOI Pro - AMD

Who is online

Users browsing this forum: No registered users and 1 guest