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

From Rambabu V
Subject FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication
Date
Msg-id CADtiZxpOFWYkvTgrMqHPWZeNdFMXbJCSVLQBmeNH3ea_Rnegcg@mail.gmail.com
Whole thread Raw
Responses Re: FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi Team,

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
2020-12-19 02:48:22.350 PST [3575] 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
2020-12-19 02:48:27.362 PST [3576] 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
2020-12-19 02:48:32.366 PST [3580] 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

even though i have exported LD_LIBRARY_PATH and created link also.

[root@localhost log]# which libpqwalreceiver.so
/usr/bin/libpqwalreceiver.so
[root@localhost log]# which libpq.so.5
/usr/bin/libpq.so.5

[postgres@localhost ~]$ export LD_LIBRARY_PATH=$PATH:/usr/pgsql-13/lib/
[postgres@localhost ~]$ echo $LD_LIBRARY_PATH
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/postgres/.local/bin:/home/postgres/bin:/usr/pgsql-13/lib/

every version has the same issue with packages, please help me to resolve this issue.

pgsql-general by date:

Previous
From: Lars Vonk
Date:
Subject: Re: Posts not appearing in this mailinglist
Next
From: Adrian Klaver
Date:
Subject: Re: Upgrade check failed from 11.5 to 12.1