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

Error Messages:

/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



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

Read More:

Leave a Reply

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