trimstray / nginx-admins-handbook

How to improve NGINX performance, security, and other important things.
MIT License
13.48k stars 1.08k forks source link

ngx_installer.sh - updates and fixes #13

Closed trimstray closed 4 years ago

trimstray commented 4 years ago
trimstray commented 4 years ago

FreeBSD

Modules (not working):

trimstray commented 4 years ago

Revert changes (init last task).

trimstray commented 4 years ago
-L/usr/local/lib -L/usr/local/lib -lluajit-5.1 -lm -ldl \
-shared
/usr/bin/ld: /usr/local/lib/libluajit-5.1.a(lj_err.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libluajit-5.1.a: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [objs/Makefile:2149: objs/ngx_http_lua_module.so] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/usr/local/src/nginx-1.16.0/master'
gmake: *** [Makefile:8: build] Error 2
cd /usr/ports/lang/luajit2
make && make install