Re: Re: 1024 limits?? - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: Re: 1024 limits??
Date
Msg-id 20010205095056.P26076@fw.wintelcom.net
Whole thread Raw
In response to Re: Re: 1024 limits??  (Mathieu Dube <mathieu_dube@videotron.ca>)
List pgsql-hackers
* Mathieu Dube <mathieu_dube@videotron.ca> [010205 09:32] wrote:
> cc -o therver therver.c -g -lflipr -lpq -L. -lpthread -D_REENTRANT
> ./libpq.a(fe-auth.o): In function `pg_password_sendauth':
> /usr/local/postgresql-7.0.3/src/interfaces/libpq/fe-auth.c:465: undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make: *** [therver] Error 1
> 
> this is what I get 
> should I copy other files?

no, just add -lcrypt to your LDFLAGS



pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: Can PyGreSQL be updated?
Next
From: Manuel Cabido
Date:
Subject: Re: Like vs '='