Public bug reported:

If I want to run openssl --help for example, it gives me:

openssl: error while loading shared libraries: libssl.so.1.0.0: cannot
open shared object file: No such file or directory


If I do an strace, you can see it does not find a lot of libs:

$ echo -n "my_fixed_seed" | strace openssl dgst -sha256 -binary > 
private_key.bin
execve("/opt/splunk/bin/openssl", ["openssl", "dgst", "-sha256", "-binary"], 
0x7ffd8d439bf8 /* 54 vars */) = 0
brk(NULL)                               = 0x5b020241b000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7eb63a447000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=110347, ...}) = 0
mmap(NULL, 110347, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7eb63a42c000
close(3)                                = 0
openat(AT_FDCWD, 
"/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3/", 
0x7ffd4701dba0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/", 
0x7ffd4701dba0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/", {st_mode=S_IFDIR|0755, 
st_size=135168, ...}, 0) = 0
openat(AT_FDCWD, 
"/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3/", 
0x7ffd4701dba0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/", 
0x7ffd4701dba0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/", {st_mode=S_IFDIR|0755, 
st_size=135168, ...}, 0) = 0
openat(AT_FDCWD, "/lib/glibc-hwcaps/x86-64-v3/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib/glibc-hwcaps/x86-64-v3/", 0x7ffd4701dba0, 0) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/glibc-hwcaps/x86-64-v2/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib/glibc-hwcaps/x86-64-v2/", 0x7ffd4701dba0, 0) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
newfstatat(AT_FDCWD, "/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3/", 0x7ffd4701dba0, 0) = 
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2/libssl.so.1.0.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2/", 0x7ffd4701dba0, 0) = 
-1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) 
= 0
writev(2, [{iov_base="openssl", iov_len=7}, {iov_base=": ", iov_len=2}, 
{iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", 
iov_len=2}, {iov_base="libssl.so.1.0.0", iov_len=15}, {iov_base=": ", 
iov_len=2}, {iov_base="cannot open shared object file", iov_len=30}, 
{iov_base=": ", iov_len=2}, {iov_base="No such file or directory", iov_len=25}, 
{iov_base="\n", iov_len=1}], 10openssl: error while loading shared libraries: 
libssl.so.1.0.0: cannot open shared object file: No such file or directory
) = 122
exit_group(127)                         = ?
+++ exited with 127 +++


I tried apt install openssl --reinstall but nothing.

** Affects: openssl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089827

Title:
  Openssl can't find libs and finally crashes on "missing shared library
  libssl.so.1.0.0"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2089827/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to