Marcilio Jorgensen Cassella <[EMAIL PROTECTED]> wrote:
>
> I'm trying to compile qmail with the patch qmail-pgsql-0.14 and the
> error is:
>
> [root@lightsaber qmail-1.03]# make setup check
> ./load qmail-getpw sqlconfig.o case.a getln.a substdio.a error.a \
> str.a fs.a auto_break.o auto_usera.o getpwsql.o auto_qmail.o \
> stralloc.a alloc.a wait.a str.a open.a `cat pgsql.lib`
> /usr/lib/libpq.so: undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make: *** [qmail-getpw] Error 1
I've not compiled from source, so I could be way off, but try editing the
Makefile and adding the option '-lcrypt' to the command which causes the
above link error.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------