|
|
楼主 |
发表于 2026-5-10 13:05:30
|
显示全部楼层
-o objs/src/os/unix/ngx_user.o \
1 [/ \/ P# Z& D' {* D; Y0 J src/os/unix/ngx_user.c" J: }5 w5 `6 O$ K
src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’:4 X Y0 H$ u; ]* |1 y5 K
src/os/unix/ngx_user.c:36:7: error: ‘struct crypt_data’ has no member named ‘current_salt’' y8 r! d' K0 \6 A
36 | cd.current_salt[0] = ~salt[0];- t2 R! V! ?3 x( I* G( Y$ K
| ^
. L0 X+ w/ B% [* G, \5 Hmake[1]: *** [objs/Makefile:781: objs/src/os/unix/ngx_user.o] Error 1
4 y/ ?$ A& N$ K" A& _& Qmake[1]: Leaving directory '/usr/src/webback/nginx-1.11.3'# ]3 K/ I0 I! z, b
make: *** [Makefile:8: build] Error 20 T% h5 V% ~9 L, |$ l# Q6 Z
[root@webserver nginx-1.11.3]# vim objs/Makefile 1 ] X9 I+ n4 j4 |
[root@webserver nginx-1.11.3]# dnf install libxcrypt libxcrypt-compat libxcrypt-devel -y
& ~9 \- @" S; m; OLast metadata expiration check: 0:53:41 ago on Sun 10 May 2026 12:10:29 PM CST.8 @. |8 }- E4 q/ e7 h+ ~
Package libxcrypt-4.4.38-2.oe2503.x86_64 is already installed.+ k1 o, c% T6 f# b7 Z- b$ V
No match for argument: libxcrypt-compat
- ?, l( i, k8 @' e: B% V: fPackage libxcrypt-devel-4.4.38-2.oe2503.x86_64 is already installed.
$ k; z+ h: P) eError: Unable to find a match: libxcrypt-compat
$ W6 |9 @5 U7 F; H[root@webserver nginx-1.11.3]# dnf install libxcrypt libxcrypt-devel -y9 B" j9 O+ Y2 @
Last metadata expiration check: 0:53:55 ago on Sun 10 May 2026 12:10:29 PM CST.
+ s( h h) Y: |. YPackage libxcrypt-4.4.38-2.oe2503.x86_64 is already installed.
7 D- G/ H; q3 t7 ZPackage libxcrypt-devel-4.4.38-2.oe2503.x86_64 is already installed.: @% n+ C1 G. a% [
Dependencies resolved., U" D" Z9 F2 h& x) L: U
Nothing to do.7 a" d' R2 }! l5 P6 X
Complete! t Y1 S5 i+ d+ G2 H
[root@webserver nginx-1.11.3]# ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ld-opt="-lcrypt"& i' h, R$ k. b0 d
checking for OS
* m- n4 P2 C0 r/ O" R + Linux 6.6.0-72.6.0.56.oe2503.x86_64 x86_644 L* d1 E/ V0 O
checking for C compiler ... found6 ?+ G( j u5 G8 P2 B' d
|
|