臬: |$ U. B$ B" W
http://www.it165.net/os/html/201210/3633.html
2 E0 }- g' A; a" ]. V( \! Chttp://serverfault.com/questions ... ion-fault-in-centos
1 h3 N/ r% U4 B" p8 K+ D( r0 r5 t2 {8 @5 { X7 f$ Y
2 W+ Z6 `# {3 @. Z+ `final:
5 g* l8 C; {6 U& W) Prm -rf /usr/local/lib/libz*( t8 b; I- ^1 X, J
rm -rf /usr/local/lib/libxml2*, l9 R0 H" b, G% F I
ok% K: v5 C( ]) T4 P& M2 C2 X
if not ok ==>wget http://www.gzip.org/zlib/zlib-1.2.3.tar.bz2 && reinstall
2 k4 d0 O: z: T2 R' M, v9 ]5 f* r- _) P# }7 p/ ~/ X" ^
6 l3 `+ N1 P+ A) Y ]/ m[root@CentOS6 lib]# service nginx reload
3 G' Y. o4 T: x/usr/sbin/nginx: /usr/local/lib/libxslt.so.1: no version information available (required by /usr/sbin/nginx)
- p0 \2 |) H1 o; Z/usr/sbin/nginx: /usr/local/lib/libxslt.so.1: no version information available (required by /usr/sbin/nginx) v7 t& h2 w# D ?
甇券啗 nginx嚗 [ 蝣箏 ]
. R5 E7 V6 Y1 B, B& i' U3 x' ~7 s1 b1 G( G+ h
solution:
, Y' I6 x% [" c' z4 r! e[root@CentOS6 lib]# locate libxslt.so*# u9 X3 l A$ ^ i7 ?$ O6 x5 P
/usr/lib64/libxslt.so# q& E2 y/ j, o; ]
/usr/lib64/libxslt.so.1) Y6 t# ?; D( N. T6 F) W: q% C+ ?; I. A
/usr/lib64/libxslt.so.1.1.265 j5 Y1 ~( J5 \8 V- B. V3 w0 O
/usr/local/lib/libxslt.so% G9 q8 U6 G. B2 A
/usr/local/lib/libxslt.so.1! C9 w+ R: A; {1 U; N
/usr/local/lib/libxslt.so.1.1.223 O/ i8 p1 c9 K8 ?
" w4 `6 q3 m: H7 J6 g0 \, f
rm /usr/local/lib/libxslt.so* ===> 撠得k
. c, f2 j! G1 V4 Y5 Q9 f航 yum call /usr/lib64/libxslt.so.1 call /usr/local/lib/libxslt.so.
5 M6 I8 Y0 ~/ E1 W% k5 w8 }' F
# I' G* ^" V/ e
: V5 r$ g1 Q3 R- P8 g$ D |
|