Compile nginx for zimbra

Maxim Dounin mdounin at mdounin.ru
Fri Jul 6 13:06:44 UTC 2012


Hello!

On Fri, Jul 06, 2012 at 01:30:33PM +0200, Andrea Soracchi wrote:

> I have a ubuntu 10.04 TLS. When compile nginx for zimbra 
> (http://zimbra.imladris.sk/download/src/HELIX-720.fbsd/ThirdParty/nginx/nginx-0.9-zimbra/) 
> I get this error:

[...]

> objs/src/mail/ngx_mail_handler.o: In function `ngx_mail_initialize_sasl':
> /usr/local/src/nginx-0.9-zimbra/src/mail/ngx_mail_handler.c:961: undefined reference to `sasl_server_init'
> /usr/local/src/nginx-0.9-zimbra/src/mail/ngx_mail_handler.c:965: undefined reference to `sasl_errstring'

This looks like problem in zimbra changes to nginx and you may 
have better luck asking in zimbra-related lists.

On the other hand, it looks like the problem is simple enough, and 
you just need to add "-lsasl" to ld flags.  Something like

./configure --with-ld-opt="-lsasl"

should work.

Maxim Dounin



More information about the nginx mailing list