[Dovecot] Error While compiling with the Mysql patch
Maikel Verheijen
maikel at ladot.com
Fri Feb 13 10:17:20 EET 2004
Hi Xavier,
On Feb 12, 2004, at 8:27 PM, Xavier Orduña wrote:
> Hi!
>
> When I'm trying to compile the source-code I get this error message:
>
> mycrypt.o: In function `mycrypt':
> /root/soft/dovecot-0.99.10.4/src/auth/mycrypt.c:11: undefined
> reference to `crypt'
This can be solved by adding "-lcrypt" to your AUTH_LIBS variable.
> /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function
> `my_compress_alloc':
> my_compress.o(.text+0xb4): undefined reference to `compress'
> /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function
> `my_uncompress':
> my_compress.o(.text+0x12a): undefined reference to `uncompress'
>
I haven't tried to compile dovecot with the mysql patch, so I don't
know for sure, but it MIGHT be working after you added the -lcrypt, and
do a "make" again.
>
> I Included the FLAGS:
>
> AUTH_CFLAGS="-I/usr/local/include/mysql -DPASSDB_MYSQL -DUSERDB_MYSQL"
> \
> AUTH_LIBS="-L/usr/local/lib/mysql -lmysqlclient" \
>
> Before to compile, and I'm using a Debian woody.
>
> Do you know what happens?
>
> Thanks
>
> Xavi
>
Regards,
Maikel Verheijen.
More information about the dovecot
mailing list