Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXjbN-00CM4z-At for pgsql-general@arkaria.postgresql.org; Wed, 07 Feb 2024 15:12:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rXjbM-00BbsI-Fd for pgsql-general@arkaria.postgresql.org; Wed, 07 Feb 2024 15:12:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXjbM-00BbsA-4x for pgsql-general@lists.postgresql.org; Wed, 07 Feb 2024 15:12:40 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXjbJ-005xpn-Pb for pgsql-general@lists.postgresql.org; Wed, 07 Feb 2024 15:12:39 +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 417FCZns787640; Wed, 7 Feb 2024 10:12:35 -0500 From: Tom Lane To: Marco Aurelio cc: pgsql-general@lists.postgresql.org Subject: Re: Error on create extension pgcrypto. Undefined symbol "EVP_bf_ecb" In-reply-to: References: <963AC6F6-5FFE-40B8-AB80-735058D57812@yesql.se> Comments: In-reply-to Marco Aurelio message dated "Wed, 07 Feb 2024 11:40:21 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <787638.1707318755.1@sss.pgh.pa.us> Date: Wed, 07 Feb 2024 10:12:35 -0500 Message-ID: <787639.1707318755@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Marco Aurelio writes: > I added the include and libraries folders: > --with-libraries=/usr/local/lib --with-includes=/usr/local/include > but configure keeps finding the old version of openssl > configure:14133: checking for openssl > configure:14151: found /usr/bin/openssl > configure:14163: result: /usr/bin/openssl > configure:14183: using openssl: OpenSSL 1.1.1t-freebsd 7 Feb 2023 You can ignore that particular result, because it doesn't matter as long as we're using the right headers and libraries. (We knew when that check was put in that it would give some false positives.) Alternatively, change your PATH to put /usr/local/bin in front of /usr/bin. regards, tom lane