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

错误:

/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参数重新编译

posted @ 2022-09-06 11:40  浪淘沙&  阅读(105)  评论(0编辑  收藏  举报