-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Description
How to reproduce:
$ ./configure \
--with-mail \
--with-mail_ssl_module \
--add-module=/ngx_openresty-1.7.4.1/bundle/ngx_devel_kit-0.2.19 \
--add-module=/ngx_openresty-1.7.4.1/bundle/set-misc-nginx-module-0.26
$ make
...
objs/addon/src/ngx_http_set_misc_module.o:(.data+0x728): undefined reference to `ngx_http_set_misc_set_hmac_sha1'
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/ngx_openresty-1.7.4.1/bundle/nginx-1.7.4'
make: *** [build] Error 2
If mail_ssl_module is enabled and http_ssl_module is not enabled with command ./configure,
nginx configure script will run set-misc-nginx-module/config before running script as following in auto/module:
if [ $MAIL_SSL = YES ]; then
have=NGX_MAIL_SSL . auto/have
USE_OPENSSL=YES
fi
In set-misc-nginx-module/config, it will not add ngx_http_set_hmac.c to $NGX_ADDON_SRCS because $USE_OPENSSL is "NO" by this time.
Metadata
Metadata
Assignees
Labels
No labels