Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqfPU-0002Zo-Ve for pgsql-general@arkaria.postgresql.org; Sat, 19 Dec 2020 16:48:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kqfPT-0005rN-9F for pgsql-general@arkaria.postgresql.org; Sat, 19 Dec 2020 16:48:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqfPT-0005rG-20 for pgsql-general@lists.postgresql.org; Sat, 19 Dec 2020 16:48:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqfPQ-0001vb-4J for pgsql-general@postgresql.org; Sat, 19 Dec 2020 16:48:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0BJGme1r271085; Sat, 19 Dec 2020 11:48:40 -0500 From: Tom Lane To: Rambabu V cc: pgsql-general@postgresql.org Subject: Re: FATAL: could not load library "/usr/pgsql-13/lib/libpqwalreceiver.so" during replication In-reply-to: References: Comments: In-reply-to Rambabu V message dated "Sat, 19 Dec 2020 16:24:44 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <271083.1608396520.1@sss.pgh.pa.us> Date: Sat, 19 Dec 2020 11:48:40 -0500 Message-ID: <271084.1608396520@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Rambabu V 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