centos Compile and install mysql error: make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t]

Error Messages:

/decide/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 standing
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

Solution:

Delete the parameter -DWITH_PARTITION_STORAGE_ENGINE=1 in cmake and re-compile

Read More:

This entry was posted in MySQL and tagged MySql Install Error on by Robins.

Leave a Reply

Your email address will not be published. Required fields are marked *