Not the answer you need?
Register and ask your own question!

Install Percona XtraDB Cluster by source code have problem

littlelittle EntrantCurrent User Role Beginner
I installed Percona XtraDB Cluster 5.6 latest version by source code. Have error:

[ 96%] Building CXX object unittest/gunit/CMakeFiles/merge_small_tests-t.dir/merge_small_tests.cc.o
Linking CXX executable merge_small_tests-t
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_ticket::wsrep_report(bool)':
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:3189: undefined reference to `wsrep_debug'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:3189: undefined reference to `sql_print_information(char const*, ...)'
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_lock::can_grant_lock(enum_mdl_type, MDL_context*, bool) const':
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1819: undefined reference to `wsrep_debug'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1816: undefined reference to `wsrep_thd_is_BF(void*, char)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1824: undefined reference to `wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1827: undefined reference to `wsrep_log_conflicts'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1830: undefined reference to `sql_print_information(char const*, ...)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1857: undefined reference to `wsrep_thd_is_BF(void*, char)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1860: undefined reference to `wsrep_debug'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1819: undefined reference to `wsrep_thd_query'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1819: undefined reference to `wsrep_thd_thread_id'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1819: undefined reference to `sql_print_information(char const*, ...)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1860: undefined reference to `wsrep_thd_query'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1860: undefined reference to `wsrep_thd_thread_id'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1860: undefined reference to `sql_print_information(char const*, ...)'
../../sql/libsqlgunitlib.a(mdl.cc.o): In function `MDL_lock::Ticket_list::add_ticket(MDL_ticket*)':
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1403: undefined reference to `wsrep_thd_is_BF(void*, char)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1415: undefined reference to `wsrep_thd_is_BF(void*, char)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1417: undefined reference to `wsrep_debug'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1432: undefined reference to `wsrep_grant_mdl_exception(MDL_context*, MDL_ticket*)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1434: undefined reference to `wsrep_debug'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1434: undefined reference to `sql_print_information(char const*, ...)'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1417: undefined reference to `wsrep_thd_query'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1417: undefined reference to `wsrep_thd_thread_id'
/usr/local/src/Percona-XtraDB-Cluster-5.6.15/sql/mdl.cc:1417: undefined reference to `sql_print_information(char const*, ...)'
collect2: ld returned 1 exit status
make[2]: *** [unittest/gunit/merge_small_tests-t] Error 1
make[1]: *** [unittest/gunit/CMakeFiles/merge_small_tests-t.dir/all] Error 2
make: *** [all] Error 2

How can I do?My system is centos 6.5 x86_64. Thank you.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.