Compile nginx for zimbra

Andrea Soracchi soracchi at
Fri Jul 6 13:19:08 UTC 2012


thanks for your help.

I get this error:

./configure: error: the invalid value in --with-ld-opt="-lsasl"



----- Messaggio originale -----
Da: "Maxim Dounin" <mdounin at>
A: nginx at
Inviato: Venerdì, 6 luglio 2012 15:06:44
Oggetto: Re: Compile nginx for zimbra


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 
> ( 
> 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

nginx mailing list
nginx at

More information about the nginx mailing list