This is my distribution I use
root@ci-server:~/temp# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch
When installing openssl I receive the following message but using openssl
just simply does not work
root@ci-server:~/temp# apt-get install openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version (1.1.0j-1~deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
root@ci-server:~/temp# openssl version
openssl: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
but libcrypto.so.1.1
was found here
root@ci-server:~/temp# find / -name "libcrypto.so.1.1"
/usr/lib64/libcrypto.so.1.1
ldconfig
contents
root@ci-server:~# cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf
and
root@ci-server:~# ls -l /etc/ld.so.conf.d/
total 12
-rw-r--r-- 1 root root 38 Jan 17 2017 fakeroot-x86_64-linux-gnu.conf
-rw-r--r-- 1 root root 44 Mar 20 2016 libc.conf
-rw-r--r-- 1 root root 68 Jan 14 2018 x86_64-linux-gnu.conf
looking for /usr/lib64
within /etc/ld.so.conf.d
did not yield any results
root@ci-server:~# grep -irl "/usr/lib64" /etc/ld.so.conf.d/
root@ci-server:~#
ldconfig
problem. Could you share the contents of/etc/ld.so.conf
(and or.d
)? A guide for reference/usr/lib64
listed in any of the files in/etc/ld.so.conf.d/
?lib64.conf
and place the path in there. And then rebuild the cache withsudo ldconfig
. Or you could just place a symlink in one of the directories that are listed.