nginx-dav-ext-module icon indicating copy to clipboard operation
nginx-dav-ext-module copied to clipboard

nginx compile statically together with nginx-dav module

Open nonvwvnon opened this issue 3 years ago • 1 comments

nginx compile statically together with nginx-dav module

nginx is unable to find libxml when started to compile the nginx-dav module run into this error :

fatal error: libxml/parser.h: No such file or directory

following is my setup:


nginx:

./configure
--with-cc="/pathtodir/musl/bin/musl-gcc" --with-ld-opt="-static -L/path/to/libxml/include/libxml2/libxml" --prefix=$prefix
.. .. --add-module=/path/to/src/ngx-dav --without-http_rewrite_module --without-http_gzip_module


nginx-dav module

/path/to/src/ngx-dav added the following lines to 'config':

ngx_module_incs=/path/to/compiled/libxml/include/libxml2/libxml ngx_module_libs=-L/path/to/compiled/libxml/lib

nonvwvnon avatar Apr 16 '21 04:04 nonvwvnon

any fix? i have same issue.

debiansid avatar Jun 05 '22 02:06 debiansid