Re: configure && --with

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthias Apitz <guru(at)unixarea(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: configure && --with
Date: 2026-04-07 14:21:48
Message-ID: 2040885.1775571708@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matthias Apitz <guru(at)unixarea(dot)de> writes:
> Why the setting of '--with-ssl=/usr/local/sisis-pap/lib' as adviced by
> the help of ./configure:

> $ ./configure --help | grep 'with-ssl=LIB'
> --with-ssl=LIB use LIB for SSL/TLS support (openssl)

> is not used for the run check of the openssl binary as LD_LIBRARY_PATH?

If you had checked the manual, you would have read

--with-ssl=LIBRARY

Build with support for SSL (encrypted) connections. The only
LIBRARY supported is openssl, which is used for both OpenSSL
and LibreSSL.

So the argument is just pro-forma at the moment, although someday
maybe it will do something.

The options you need to use to point it at a non-default openssl
installation are --with-includes and --with-libraries [1].

regards, tom lane

[1] https://www.postgresql.org/docs/current/install-make.html#CONFIGURE-OPTIONS-BUILD-PROCESS

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message KK CHN 2026-04-08 05:21:32 Pgbouncer and Node JS application Query read timeout error
Previous Message Matthias Apitz 2026-04-07 09:15:08 configure && --with