RE: Libpq linked statically linked to OpenSSL/LibreSSL - Mailing list pgsql-interfaces

From ALBERTO CABELLO SÁNCHEZ
Subject RE: Libpq linked statically linked to OpenSSL/LibreSSL
Date
Msg-id PA4PR05MB8969A96CE13551DA66276E6AA71C9@PA4PR05MB8969.eurprd05.prod.outlook.com
Whole thread Raw
In response to Re: Libpq linked statically linked to OpenSSL/LibreSSL  (Marco Bambini <marco@creolabs.com>)
Responses Re: Libpq linked statically linked to OpenSSL/LibreSSL  (Marco Bambini <marco@creolabs.com>)
List pgsql-interfaces
> Marco Bambini <marco@creolabs.com> wrote:
>
> I tried to follow the advices from Andreas but without any luck.
> I added the  --with-includes=, --with-libraries= arguments to the configure
> command (with path to my static LibreSSL libraries) and I also modified the Makefile.global with:
> -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic
>
> The resulting libpq.so is bigger (in size) than the previous one but it continues
> to try to dynamically load the SSL functions.

This was also the result I got, -lssl seems to leave without effect the "-with-*" options.


pgsql-interfaces by date:

Previous
From: Marco Bambini
Date:
Subject: Re: Libpq linked statically linked to OpenSSL/LibreSSL
Next
From: Marco Bambini
Date:
Subject: Re: Libpq linked statically linked to OpenSSL/LibreSSL