Re: undefined symbol when installing pgcrypto on 16.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Nolan <htfoot(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: undefined symbol when installing pgcrypto on 16.1
Date: 2024-01-11 22:58:57
Message-ID: 334461.1705013937@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Nolan <htfoot(at)gmail(dot)com> writes:
> This is on AlmaLinux 9.3, installing postgresql from source code.
> In PG 16.1 when I try to install pgcrypto, the modules compile but I
> get this error when running checks:

> CREATE EXTENSION pgcrypto;
> +ERROR: could not load library
> "/home/postgres/src/postgresql-16.1/tmp_install/usr/local/pgsql/lib/
> pgcrypto.so": /home/postgres/src/postgresql-16.1/tmp_install/usr/local/pgsql/lib/pgcrypto.so:
> undefined symbol: EVP_cast5_cbc

That should be supplied by OpenSSL. Are you using some weird
version of openssl? Did you get any warnings during build?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2024-01-11 23:32:03 Re: Time zone offset in to_char()
Previous Message Michael Nolan 2024-01-11 22:46:16 undefined symbol when installing pgcrypto on 16.1