I got the same error with exactly the same solution: to init submodules:
checking for getaddrinfo() ... found
configuring additional dynamic modules
adding module in ../ngx_brotli
./configure: error: Brotli library is missing from the /usr directory.
Please make sure that the git submodule has been checked out:
cd ../ngx_brotli && git submodule update --init && cd /root/nginx-1.19.10
Once I did that everything went well. It might be that in other tutorials they suggest cloning brotli with git clone --recursive command. Thank you for the article!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I got the same error with exactly the same solution: to init submodules:
Once I did that everything went well. It might be that in other tutorials they suggest cloning brotli with
git clone --recursive
command. Thank you for the article!