Re: configure && --with - Mailing list pgsql-general

From Tom Lane
Subject Re: configure && --with
Date
Msg-id 2040885.1775571708@sss.pgh.pa.us
Whole thread
In response to configure && --with  (Matthias Apitz <guru@unixarea.de>)
Responses Re: configure && --with
List 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



pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: configure && --with
Next
From: KK CHN
Date:
Subject: Pgbouncer and Node JS application Query read timeout error