Closed Th3R3dL4rv4 closed 3 years ago
I'm installing GeoIP Module pre-requisites on my DigitalOcean Droplet (nginx/ubuntu) and I encountered this problem when I type in make command.
make
src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’: src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’ 26 | cd.current_salt[0] = ~salt[0]; | ^ make[1]: *** [objs/Makefile:784: objs/src/os/unix/ngx_user.o] Error 1 make[1]: Leaving directory '/usr/local/src/nginx-1.13.12' make: *** [Makefile:8: build] Error 2
Command executed before make was ./configure --add-dynamic-module=/root/ngx_http_geoip2_module.
./configure --add-dynamic-module=/root/ngx_http_geoip2_module
I already performed sudo apt-get update and sudo apt-get upgrade as a trial and error to fix the problem, and no luck.
sudo apt-get update
sudo apt-get upgrade
How to fix the issue? Thank you! 😢
Hello @aeVfT3uJ24EcX3tE
I'm facing the same problem as you mentioned above. Can you share how you fix this issue? Thank you.
I'm installing GeoIP Module pre-requisites on my DigitalOcean Droplet (nginx/ubuntu) and I encountered this problem when I type in
make
command.Command executed before
make
was./configure --add-dynamic-module=/root/ngx_http_geoip2_module
.I already performed
sudo apt-get update
andsudo apt-get upgrade
as a trial and error to fix the problem, and no luck.How to fix the issue? Thank you! 😢