John E. Garrott wrote:
> > ... Now, during compilation I get the following
> > error:
> >
> > /database/local/pgsql/lib/libpq.a(fe-auth.o): In function
> > `pg_password_sendauth':
> > fe-auth.o(.text+0x17): undefined reference to `crypt'
> >
> > Anyone know how to fix this?
> >
>
> Add -lcrypt to the end of the line that compiles the application.
>
> John
Thanks John,
That seems to have fixed it. Any idea why I didn't have to include that
library before? Is crypt a PostGres library or a system library?
-Tony