Re: AIX 4.2.1 CVS head and SSL

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: AIX 4.2.1 CVS head and SSL
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4962007@m0114.s-mxs.net
обсуждение исходный текст
Ответ на AIX 4.2.1 CVS head and SSL  (Samuel A Horwitz <horwitz@argoscomp.com>)
Ответы Re: AIX 4.2.1 CVS head and SSL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I get the following errors
>
>
> gmake -C ecpglib all
> gmake[4]: Entering directory
> `/usr/local/postgres/pgsql/src/interfaces/ecpg/ecpglib'
> ../../../../src/backend/port/aix/mkldexport.sh libecpg.a > libecpg.exp
> gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -Wl,-bnoentry -
> Wl,-H512 -Wl,-bM:SRE -o libecpg.so libecpg.a
> -L../../../../src/port -lm
> -L/usr/local/ssl/lib  -L../../../../src/port -L/usr/local/ssl/lib
> -L../pgtypeslib
> -lpgtypes -L../../../../src/interfaces/libpq -lpq
> -Wl,-bI:../../../../src/backend/postgres.imp -Wl,-bE:libecpg.exp

> ld: 0711-317 ERROR: Undefined symbol: .SSL_new
> ld: 0711-317 ERROR: Undefined symbol: .SSL_set_ex_data
> ld: 0711-317 ERROR: Undefined symbol: .SSL_set_fd
> ld: 0711-317 ERROR: Undefined symbol: .SSL_read
> ld: 0711-317 ERROR: Undefined symbol: .SSL_get_error
> ld: 0711-317 ERROR: Undefined symbol: .SSL_write

You can get around that problem by adding the SSL library to the link line
manually (-lssl).

AIX wants all symbols resolved at link time (or at least be told where to
load them from at runtime with an *.imp file).

All Platforms with that requirement will have that problem when linking
libecpg.so with ssl.

Sorry I don't have time to fix it right now.

Andreas


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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: 3 digit ISO dates
Следующее
От: Gavin Sherry
Дата:
Сообщение: LISTEN and "tuple concurrently updated"