sharsafe 发表于 2018-05-16 14:02

[求助]mysql8.0.11源码编译不过

mysql-boost-8.0.11.tar.gz 是官网下载的,报错如下:
Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Linking CXX executable ../runtime_output_directory/mysqld
../archive_output_directory/libtemptable.a(handler.cc.o): In function `temptable::Handler::delete_table(char const*, dd::Table const*)':
/data/soft/mysql-8.0.11/sql/table.h:3288: undefined reference to `_ZTHN9temptable6tablesE'
/data/soft/mysql-8.0.11/sql/table.h:3288: undefined reference to `_ZTHN9temptable6tablesE'
/data/soft/mysql-8.0.11/sql/table.h:3288: undefined reference to `_ZTHN9temptable6tablesE'
../archive_output_directory/libtemptable.a(handler.cc.o): In function `temptable::Handler::open(char const*, int, unsigned int, dd::Table const*)':
/data/soft/mysql-8.0.11/sql/table.h:3288: undefined reference to `_ZTHN9temptable6tablesE'
/data/soft/mysql-8.0.11/sql/table.h:3288: undefined reference to `_ZTHN9temptable6tablesE'
../archive_output_directory/libtemptable.a(handler.cc.o):/data/soft/mysql-8.0.11/sql/table.h:3288: more undefined references to `_ZTHN9temptable6tablesE' follow
collect2: 错误:ld 返回 1

zhangshengdong 发表于 2018-06-05 10:25

http://blog.chinaunix.net/uid-26446098-id-5785212.html
可按照我的centos环境和mysql的版本,进行编译安装,试试看。
页: [1]
查看完整版本: [求助]mysql8.0.11源码编译不过