因为开始安装了极速LNMP模式,后来用着发现要装附加模块,硬着头皮编译,下载一堆源码发现通不过了,实在是百度找不到答案了,求助一下宝塔!
按照先 nginx -V 看看有哪些模块,把源码都下载回来,openresty-1.13.6.2 还有一堆附加模块,网上下载好,调试解决了很多错误,还是有个问题搞不懂了。
一堆这个:
/root/src/openresty-1.13.6.2/bundle/ngx_stream_lua-0.0.5/src/ngx_stream_lua_prereadby.c:151: multiple definition of `ngx_stream_lua_preread_handler_file'
objs/addon/src/ngx_stream_lua_prereadby.o:/root/src/openresty-1.13.6.2/bundle/ngx_stream_lua-0.0.5/src/ngx_stream_lua_prereadby.c:151: first defined here
collect2: error: ld returned 1 exit status
然后就退出编译了。
|
|