agentzh/ngx_openresty — Issue #9: make fail for ngx_openresty-1.0.10.48
Author: ZoomQuiet
Created: 2012-03-06 08:53:46+00:00
State: open

i'm fresher in mgx_openresty ;-(
env:
- mac 10.7.3
- ngx_openresty-1.0.10.48

steps:
- download from http://agentzh.org/misc/nginx/ngx_openresty-1.0.10.48.tar.gz
- tar xzvf ngx_openresty-1.0.10.48.tar.gz
- cd ngx_openresty-1.0.10.48
- ./configure --with-luajit --with-http_iconv_module --without-lua_rds_parser
- make
so log as: https://gist.github.com/1984990

error as:
Undefined symbols for architecture x86_64:
"_pcre_free_study", referenced from:
_ngx_http_lua_ngx_re_match in ngx_http_lua_regex.o
_ngx_http_lua_ngx_re_gmatch in ngx_http_lua_regex.o
_ngx_http_lua_ngx_re_sub_helper in ngx_http_lua_regex.o
_ngx_http_lua_ngx_re_gmatch_iterator in ngx_http_lua_regex.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [objs/nginx] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 2

i lost some Prerequisites?!