1.checking for C compiler … found but is not working
Modify auto/feature
find if [ -x $NGX_AUTOTEST ]; then
Assign the value in front of ngx_feature_run=no
2./configure: 1: auto/types/sizeof: objs/autotest: Exec format error
change auto/types/sizeof
find ngx_test=”$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
-o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs”
change $CC to gcc
3.objs/src/os/unix/ngx_user.o: In function `ngx_libc_crypt’: ngx_user.c:(.text+0x20): undefined reference to `crypt’
Find the ngx_libc_crypt function in src/os/unix/ngx_user.c:
change
to
Modify auto/feature
find if [ -x $NGX_AUTOTEST ]; then
Assign the value in front of ngx_feature_run=no
2./configure: 1: auto/types/sizeof: objs/autotest: Exec format error
change auto/types/sizeof
find ngx_test=”$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \
-o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs”
change $CC to gcc
3.objs/src/os/unix/ngx_user.o: In function `ngx_libc_crypt’: ngx_user.c:(.text+0x20): undefined reference to `crypt’
Find the ngx_libc_crypt function in src/os/unix/ngx_user.c:
change
value = crypt((char *) key, (char *) salt);
to
value = DES_crypt((char *) key, (char *) salt);
Read More:
- How to Solve Vue & Django Cross-domain Issue
- How to Solve Nginx 413 Error (request entity too large)
- How to Solve Fatal error stdatomic in C/C++ Compilation
- Spring boot uses configuration interface webmvcconfigurer to solve cross domain problems
- Nginx Container Error: nginx: [emerg] mkdir() “/var/cache/nginx/client_temp“ failed (13: Permission denied)
- Nginx: How to Use Error_Page
- [Solved] Playbook Start Nginx Error: Unable to start service nginx: Job for nginx.service fd with error code
- [Nginx] Configure nginx to support websocket to solve the problem of returning 400 error
- [GO]Solve request origin not allowed by Upgrader.CheckOrigin websocket cross-domain
- How to Solev QT compilation error “cannot find – LGL”
- [Solved] Docker Start nginx error: driver failed programming external connectivity on endpoint nginx
- How to Solve Ceres library Error when compiling A-LOAM
- How to Solve Fopen bus error
- How to Solve Error: “initializer element is not constant”
- How to Solve LeetCode Error: AddressSanitizer:DEADLYSIGNAL
- How to Solve Svn upload so File Error
- Kotlin: How to Solve kapt import error
- How to Solve Valgrind 3.14 error on ARM 64
- How to Solve Error: failed to load response
- How to Solve OpenCV CVUI Error: LINK2019