Thread: BUG #18807: libcrypto.so.1.1: cannot open shared object file

BUG #18807: libcrypto.so.1.1: cannot open shared object file

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      18807
Logged by:          Kirill
Email address:      evstratovkirill@yandex.ru
PostgreSQL version: 15.1
Operating system:   Ubuntu 16.04
Description:

Your documentation states that the minimum requirement is OpenSSL 1.0.x
version: "OpenSSL is also required for random number generation on platforms
that do not have /dev/urandom (except Windows). The minimum required version
is 1.0.1". But when I tried to use the pg_dump utility, I got an error:
"error while loading shared libraries: libcrypto.so.1.1: cannot open shared
object file: No such file or directory"
And libcrypto.so.1.1 refers to the OpenSSL 1.1.x version.
The current version 17 also says 1.0.. I suspect that 1.1x is needed there
too.


Re: BUG #18807: libcrypto.so.1.1: cannot open shared object file

From
Tom Lane
Date:
PG Bug reporting form <noreply@postgresql.org> writes:
> Your documentation states that the minimum requirement is OpenSSL 1.0.x
> version: "OpenSSL is also required for random number generation on platforms
> that do not have /dev/urandom (except Windows). The minimum required version
> is 1.0.1". But when I tried to use the pg_dump utility, I got an error:
> "error while loading shared libraries: libcrypto.so.1.1: cannot open shared
> object file: No such file or directory"
> And libcrypto.so.1.1 refers to the OpenSSL 1.1.x version.

What the documentation means by that is that our source code can be
built against OpenSSL versions as far back as 1.0.x.  Any particular
build, though, will work only with the OpenSSL major version it was
compiled with.  I speculate that you are trying to use a compiled
package that was made on some other version of your OS.  You didn't
say where you got the package from, so it's hard to offer more help
than that.

            regards, tom lane