- 
                Notifications
    You must be signed in to change notification settings 
- Fork 123
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels