public inbox for [email protected]
help / color / mirror / Atom feedFrom: Marco Bambini <[email protected]>
To: ALBERTO CABELLO SÁNCHEZ <[email protected]>
Cc: Andres Freund <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Libpq linked statically linked to OpenSSL/LibreSSL
Date: Sat, 10 Dec 2022 08:55:57 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <PA4PR05MB8969A96CE13551DA66276E6AA71C9@PA4PR05MB8969.eurprd05.prod.outlook.com>
References: <[email protected]>
<PA4PR05MB8969E8C20AC8EC343149E0F8A7189@PA4PR05MB8969.eurprd05.prod.outlook.com>
<PA4PR05MB896952E77CAFA3AD5CB188EBA7189@PA4PR05MB8969.eurprd05.prod.outlook.com>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<PA4PR05MB8969A96CE13551DA66276E6AA71C9@PA4PR05MB8969.eurprd05.prod.outlook.com>
What sounds really odd is that I replaced all the occurrences of -lssl -lcrypto with the full path to the static libraries in all involved Makefile, but the resulting libpq.so library still has undefined links to the SSL functions.
> On 9 Dec 2022, at 09:00, ALBERTO CABELLO SÁNCHEZ <[email protected]> wrote:
>
>> Marco Bambini <[email protected]> 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.
view thread (10+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Libpq linked statically linked to OpenSSL/LibreSSL
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox