Re: compiling error on OpenWrt

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: baych igor <igorbaych(at)hotmail(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: compiling error on OpenWrt
Date: 2021-01-06 02:02:16
Message-ID: X/UaKHM1JZ+9qN+o@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Jan 05, 2021 at 02:06:18PM +0000, baych igor wrote:
> but got error:
>
> checking for CRYPTO_new_ex_data in -lcrypto... no
> configure: error: library 'crypto' is required for OpenSSL
>
> Maybe someone can help me to build a PostgreSQL package with OpenSSL
> support on OpenWrt?

FWIW, it is the first time I am seeing OpenWrt mentioned on the
community lists. CRYPTO_new_ex_data() is only used in the upstream
code at configure time when looking for libcrypto or libeay32, to I
suspect that something is off with LDFLAGS for the build of this
environment.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Li EF Zhang 2021-01-06 02:07:49 invalid resource manager ID 25 at 0/73C186B0 and db server can not join in cluster
Previous Message PG Bug reporting form 2021-01-05 18:00:02 BUG #16807: Assert failed in postgres_fdw/estimate_path_cost_size with an empty foreign table