Re: Libpq linked statically linked to OpenSSL/LibreSSL

Поиск
Список
Период
Сортировка
От Marco Bambini
Тема Re: Libpq linked statically linked to OpenSSL/LibreSSL
Дата
Msg-id 5B426B6F-4BC9-43B6-B9E8-B0236A47B2AC@creolabs.com
обсуждение исходный текст
Ответ на RE: Libpq linked statically linked to OpenSSL/LibreSSL  (ALBERTO CABELLO SÁNCHEZ <alberto@unex.es>)
Список pgsql-interfaces
What sounds really odd is that I replaced all the occurrences of -lssl -lcrypto with the full path to the static
librariesin 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 <alberto@unex.es> wrote:
>
>> 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 по дате отправления:

Предыдущее
От: ALBERTO CABELLO SÁNCHEZ
Дата:
Сообщение: RE: Libpq linked statically linked to OpenSSL/LibreSSL
Следующее
От: Flaris Feller
Дата:
Сообщение: Transaction control in a C language function