I changed the path and now the correct version of openssl appears in the config.log, even so, after recompiling and reinstalling both postgresql and the pgcrypto contrib, when trying to create the extension in a database I continue to receive the same error, any further suggestions ?
Marco Aurélio Ventura da Silva
Analista de Sistemas / Desenvolvedor
Prodata Informática e Cadastro LTDA
(33) 3322-6363
Em qua., 7 de fev. de 2024 às 12:12, Tom Lane <tgl@xxxxxxxxxxxxx> escreveu:
Marco Aurelio <marcoprodata@xxxxxxxxx> 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