首页 > 数据库 >centos 编译安装mysql 报错:make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t]

centos 编译安装mysql 报错:make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t]

时间:2022-09-06 11:58:54浏览次数:87  
标签:perfschema centos make storage pfs 报错 connect unittest

错误:

/opt/install-files/Package/mysql-5.7.38/sql/rpl_binlog_sender.cc:828: undefined reference to `user_var_entry::val_int(char*) const'
collect2: error: ld returned 1 exit status
make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t] Error 1
make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] Error 2
make: *** [all] Error 2

  

解决方法:

cmake去掉-DWITH_PARTITION_STORAGE_ENGINE=1参数重新编译

标签:perfschema,centos,make,storage,pfs,报错,connect,unittest
From: https://www.cnblogs.com/wxwgk/p/16661238.html

相关文章