[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where is crypt?



On Thu, Nov 19, 1998 at 09:32:02PM +1100, Matthew Parry wrote:
> 
> When I try to compile a program with libpq I get the message
> 
If You use postgres You must add  -lcrypt
to You lib-line

> /usr/lib/libpq.so: undefined reference to `crypt'
you should have installed it under

/usr/lib/libcrypt.a
/usr/lib/libcrypt.so -> /lib/libcrypt-2.0.7.so
/usr/lib/libcrypt_g.a
/usr/lib/libcrypt_p.a
after that all works fine
-- 
Cheers
   Peter


Reply to: