./configure --add-module=../ngx_devel_kit-0.2.19/ --add-module=../lua-nginx-module-0.9.19/ --with-ld-opt="-L /usr/local/lib" 在末尾加上 --with-ld-opt="-L /usr/local/lib", 这个路径是pcre的安装路径。 还有另外一种方式,是使用源码,在后面加上: --with-pcre=../pcre-8.30 --...
/opt/nginx-1.2.1/src/core/ngx_regex.c:307: undefined reference to 'pcre_free_study' Probably, you have the same problem as mentioned in this ticket: http://trac.nginx.org/nginx/ticket/94 If so, the solution is in the last comment by Maxim Dounin: http://trac.nginx.org/nginx/ticke...
编译nginx时提示undefined reference to 'pcre_free_study' 2012-11-16 15:33 −... shuaixf 0 8193 编译nginx的时候报错 需要安装PCRE 2019-02-19 18:58 −./configure --prefix=/mynginx/ 本地编译nginx的时候 报错 提示需要安装PCRE 错误信息: ./configure: error: the HTTP rewrite module requires ...
However, each time I try it, the following error occurs: objs/src/event/ngx_event_openssl.o: In functionngx_ssl_check_host': /build/nginx-local/nginx-src/nginx-1.10.3/src/event/ngx_event_openssl.c:2997: undefined reference toX509_check_host' objs/src/http/ngx_http_request.o: In func...
src/core/ngx_regex.c:307: undefined reference to `pcre_free_study'collect2: ld returned 1 exit status make[1]: *** [objs/nginx] 错误 1 make[1]: Leaving directory `/root/nginx-1.3.5'make: *** [build] 错误 2 <要加--with-pcre=/root/pcre-8.31> /root/pcre-8.31...
/usr/bin/ld: /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/nginx/../common/libpassenger_common.a(aggregate.o): undefined reference to symbol 'pow@@GLIBC_2.0' /usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-lin...
src/core/ngx_regex.c:307: undefined reference to `pcre_free_study'collect2: ld returned 1 exit status make[1]: *** [objs/nginx] 错误 1 make[1]: Leaving directory `/root/nginx-1.3.5'make: *** [build] 错误 2 <要加--with-pcre=/root/pcre-8.31> /root/pcre-8.31...
make时报错如下: al/ngx_openresty/luajit/lib -lluajit-5.1 -lm -lpcre -lssl -lcrypto -ldl -lz objs/src/event/ngx_event_openssl.o: In function `ngx_ssl_ecdh_curve': ngx_event_openssl.c:(.text+0xace): undefined reference to `EC_KEY_new_by_curve_name' ...
/home/nginx-1.14.2/src/http/modules/ngx_http_ssl_module.c:695: undefined reference to `SSL_CTX_set_alpn_select_cb' Google查问题掉了一把头发,最后发现是机器openssl版本问题,因为nginx中用到了openssl新版本的东西而当前版本是没有的,于是接下来就应该去下载新版本的openssl了。
/home/share/opensource/nginx-1.12.2/src/event/ngx_event.c:506: undefined reference to `ngx_shm_alloc' collect2: ld returned 1 exit status make[1]: *** [objs/nginx] 错误 1 (2)原因分析:`ngx_shm_free'函数未定义 通过查看源码可以发现,`ngx_shm_free'定义在 ...