Hi,

libssl.so.1.0.0 points towards openssl 1 while Ubuntu has been shipping
openssl 3 and libssl.so.3 for several years now.

It seems you're using splunk as can be seen in the output of strace:
/opt/splunk/bin/openssl . I think the issue is that your splunk
installation is either out-of-date, or splunk needs to update its
system. Generally speaking, splunk is shipping binaries with the same
name as Ubuntu and shadowing Ubuntu's. This can lead to all sort of
issues, including such non-working mixes.

If you weren't expecting splunk to be present, you should look into
removing it or disabling it effectively for your account (it looks like
splunk has changed your PATH environment variable).

** Changed in: openssl (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in 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"

Status in openssl package in Ubuntu:
  Invalid

Bug description:
  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.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to