Re: FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rambabu V <ram(dot)wissen(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication
Date: 2020-12-19 16:48:40
Message-ID: 271084.1608396520@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rambabu V <ram(dot)wissen(at)gmail(dot)com> writes:
> i have installed postgresql 13 using packages/tried same using lower
> versions as well, but replication not working, getting below error.

> 2020-12-19 02:48:22.346 PST [3574] FATAL: could not load library
> "/usr/pgsql-13/lib/libpqwalreceiver.so": /usr/pgsql-13/lib/libpq.so.5:
> symbol X509_get_signature_nid, version libcrypto.so.10 not defined in file
> libcrypto.so.10 with link time reference

Apparently this copy of libpq was built against a newer version of
OpenSSL than what you have installed locally. The man page for
X509_get_signature_nid says it was added in OpenSSL 1.0.2, in case that
helps. You need to find or build a version of Postgres that's intended
for your specific platform version. Alternatively, maybe you would be
better off moving to a newer platform version, or at least installing
a newer OpenSSL version. Anything older than 1.0.1 is considered
outright insecure these days.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rambabu V 2020-12-20 00:53:02 Re: FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication
Previous Message Adrian Klaver 2020-12-19 16:35:09 Re: Upgrade check failed from 11.5 to 12.1