Re: AIX compile ?? libcrypt HELP !!

Поиск
Список
Период
Сортировка
От nathan@khmere.com
Тема Re: AIX compile ?? libcrypt HELP !!
Дата
Msg-id 39DABE36.FAECC73C@khmere.com
обсуждение исходный текст
Ответ на AIX compile ?? libcrypt HELP !!  (Nathan Boeger <nathan@khmere.com>)
Список pgsql-hackers
Tom Lane wrote:

> Nathan Boeger <nathan@khmere.com> writes:
> > I am trying to compile an app (compiles on *BSD, Linux) but for some
> > reason I cant get it to compile on AIX 4.3.3.3. It seems not to like the
> > libcrypt ??
>
> > ld: 0711-317 ERROR: Undefined symbol: __crypt_r
> > ld: 0711-317 ERROR: Undefined symbol: __setkey_r
> > ld: 0711-317 ERROR: Undefined symbol: __encrypt_r
>
> I'll bet AIX doesn't have the "reentrant" versions crypt_r(), setkey_r(),
> etc.  Did you check its man page for the crypt functions?
>
>                         regards, tom lane

well, no

but...  I did however link agianst the ssl libcrypto (-L/usr/local/ssl/lib
-lcrypto ) and it works...

why ?

thank you for the response !!

nathan



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] C++ client libs
Следующее
От: Hannu Krosing
Дата:
Сообщение: I want tips for debugging deadlocks