Re: AIX compile ?? libcrypt HELP !!

From: nathan(at)khmere(dot)com
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: AIX compile ?? libcrypt HELP !!
Date: 2000-10-04 05:20:55
Message-ID: 39DABE36.FAECC73C@khmere.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

> Nathan Boeger <nathan(at)khmere(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-10-04 05:42:05 I want tips for debugging deadlocks
Previous Message Adam Haberlach 2000-10-04 03:40:40 Re: C++ client libs