Re: configure && --with

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Date: 2026-04-07T14:21:48Z
Lists: pgsql-general
Matthias Apitz <guru@unixarea.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