Re: BUG #2600: dblink compile with SSL missing libraries

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема Re: BUG #2600: dblink compile with SSL missing libraries
Дата
Msg-id 44F5F25A.8040004@kaltenbrunner.cc
обсуждение исходный текст
Ответ на Re: BUG #2600: dblink compile with SSL missing libraries  (Joe Conway <mail@joeconway.com>)
Список pgsql-bugs
Joe Conway wrote:
> Christopher Browne wrote:
>> The following bug has been logged online:
>
>>
>> If I try to build dblink when PG is configured "--with-openssl", the
>> build
>> of the contrib module dblink breaks as follows:
>
>> If I add, to the GCC command line, requests for libssl and libcrypto...
>> -lssl -lcrypto
>>
>> e.g. - command line:
>> pgdba@ydb1.int.libertyrms.com:/opt/rg/data_dba/build-farm/HEAD/pgsql.741430/
>>
>> contrib/dblink $ /opt/prod/gcc-4.1.1/bin/gcc -O2 -Wall
>> -Wmissing-prototypes
>> -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
>> -fno-strict-aliasing -g  -Wl,-bmaxdata:0x80000000 -Wl,-bnoentry -Wl,-H512
>> -Wl,-bM:SRE -o libdblink.so libdblink.a -Wl,-bE:libdblink.exp
>> -L../../src/interfaces/libpq -L../../src/port -L/opt/freeware/lib -lpq
>> -lpthread -lpthreads -lssl -lcrypto
>> -Wl,-bI:../../src/backend/postgres.imp
>>
>> This builds fine without further complaint.
>
> Interesting. I build using "--with-openssl" all the time and have never
> had a problem. Can anyone comment on the appropriate Makefile changes
> for this?

hmm that actually seems to be a rather AIX-centric issue since we have a
ton of buildfarm boxes building with --with-openssl ...


Stefan

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: BUG #2600: dblink compile with SSL missing libraries
Следующее
От: Chris Browne
Дата:
Сообщение: Re: BUG #2600: dblink compile with SSL missing libraries