Re: BUG #15576: Missing X509_get_signature_nid symbol causes the standby to fail to start stream replication

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: chjischj(at)163(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: Devrim Gündüz <devrim(at)gunduz(dot)org>
Subject: Re: BUG #15576: Missing X509_get_signature_nid symbol causes the standby to fail to start stream replication
Date: 2019-01-09 04:27:47
Message-ID: 20190109042747.GG21835@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Jan 05, 2019 at 03:57:52AM +0000, PG Bug reporting form wrote:
> When use yum installed PostgreSQL 11.1 , missing X509_get_signature_nid
> symbol causes the standby to fail to start stream replication, the logs in
> the standby are as follows
>
> 2019-01-05 00:40:24.468 CST [46191] FATAL: could not load library
> "/usr/pgsql-11/lib/libpqwalreceiver.so": /usr/pgsql-11/lib/libpq.so.5:
> symbol X509_get_signature_nid, version libcrypto.so.10 not defined in file
> libcrypto.so.10 with link time reference

(Adding Devrim in CC)

This seems like a linking issue with the packaging or the
distribution. X509_get_signature_nid is new as of OpenSSL 1.0.2, so
visibly your version of libpq.so has been compiled with OpenSSL 1.0.2,
but only an older version of OpenSSL is present, causing the
dependency failure.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2019-01-09 04:50:17 Re: Is this a bug in auto vacuum worker?
Previous Message Thomas Munro 2019-01-09 04:01:20 Re: BUG #15577: Query returns different results when executed multiple times