compiling error on OpenWrt

From: baych igor <igorbaych(at)hotmail(dot)com>
To: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: compiling error on OpenWrt
Date: 2021-01-05 14:13:10
Message-ID: AM0PR05MB41141A814EE2BB95DCEF4FB0ADD10@AM0PR05MB4114.eurprd05.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello,

I've tried to compile libpq (PostgreSQL client library) and pgsql-cli (Command Line Interface for PostgreSQL databases) with OpenSSL support.
I've changed Makefile(feeds/packeges/libs/postgresql/Makefile) :

HOST_CONFIGURE_ARGS += \ ... --with-openssl="yes" \ ...
CONFIGURE_ARGS += \ ... --with-openssl="yes" \ ...

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?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-01-05 14:47:55 BUG #16806: postgresql10 rpm is installed in the wrong directory
Previous Message baych igor 2021-01-05 14:06:18 compiling error on OpenWrt