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

Re: Compile Problem

Hello Joshua,

Try to add '-lcrypt' to your 'sql.lib'. On what platform are you
compiling it ?

On Wed, Jun 19, 2002 at 12:43:44AM -0400, Joshua Shoemaker wrote:
> I am recieving this error when trying to compile qmail with the
> qmail-sql patch.
> alloc.a wait.a str.a open.a `cat sql.lib`
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libpq.a(fe-auth.o): In
> function `pg_password_sendauth':
> fe-auth.o(.text+0x30): undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make: *** [qmail-getpw] Error 1
> I am sorry if this issue has been brought up before but i was unable to
> find it using the resources I have so far come across.
> Thanks,
> Joshua