linux: gcc를 설치한 후 다시 시작하면 여러 가지 상황이 나타납니다libgccs.so.1 must be installed for pthread_cancel to work
2046 단어 libgcc gcc
gcc-3.4.6-11, , :
[root@localhost lib]# /etc/init.d/mysql start
:
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
Starting MySQL.libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
?
보충 사항:
find / -name libgcc_s.so
:
/usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_s.so
? ?
:
/usr/lib/gcc-lib/
?
gcc, libgcc-s.3.2.2
문제 해결:
.....
whereis libgcc_s.so ,
find / -name libgcc_s.so
mysql lib
linux RHEL,CentOS yum -i install gcc
:
/usr/lib/gcc-lib/ , , ,libgcc3.4, ,
/usr/lib/gcc-lib/ 。 , , , :
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libgcc_eh.a
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libgcc.a
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libgcc_s.so
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/libgcc.a
/lib/libgcc_s.so
/lib/libgcc_s-3.2.3-20040701.so.1
/lib/libgcc_s-3.2.2-20030225.so.1, 。
copy /usr/lib/gcc-lib/ , /etc/init.d/mysql start
, 。
, /etc/init.d/mysql start,ok
Starting MySQL.. SUCCESS!
, ?
, , ?