Compile nginx for zimbra

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


Hi,

thanks for your help.

I get this error:

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

Idea?

Thanks,
Andrea

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

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

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list