cmake已经过了,但是在make时报了以下错误:
/root/mysql-5.7.18/mysys_ssl/my_default.cc: In function ‘int my_search_option_files(const char*, int*, char***, uint*, int (*)(void*, const char*, const char*), void*, const char**, my_bool, my_bool)’:
/root/mysql-5.7.18/mysys_ssl/my_default.cc:441: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla>; for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/my_default.cc.o] Error 1
make[1]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
make: *** [all] Error 2
在网上搜索了一下,有可能是 glibc没装。。。
[root@localhost ~]# yum install -y glibc
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
...
安装之后重新make