64位的CENTOS安装mysql的时候,执行 bin/mysqld_safe --basedir=/usr/local/mysql --user=mysql & 报错:

libgcc_s.so.1 must be installed for pthread_cancel to work
nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /usr/local/mysql/data
libgcc_s.so.1 must be installed for pthread_cancel to work
bin/mysqld_safe: line 440:  3002 Aborted                 $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-external-locking >> $err_log 2>&1
STOPPING server from pid file /usr/local/mysql/data/vh.localdomain.pid
120816 23:34:03  mysqld ended

解决办法:

去32位的系统拷贝一份 libgcc_s.so.1文件到/lib下面就可以了。


Logo

更多推荐