Error make 0.5.2 on Centos 6.4

Asked by Charles

I had installed
1) yum install cmake kernel-devel kernel-headers pcre-devel glib2-devel mysql-devel zlib-dev

2) cmake
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL: /usr/include/mysql, /usr/lib64/libmysqlclient_r.so;/usr/lib64/libpthread.so;/usr/lib64/libm.so;/usr/lib64/librt.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so;/usr/lib64/libdl.so
-- checking for module 'libpcre'
-- found libpcre, version 7.8
-- Found PCRE: /usr/include

WARNINGUnable to find Sphinx documentation generator
-- ------------------------------------------------
-- MYSQL_CONFIG = /usr/bin/mysql_config
-- CMAKE_INSTALL_PREFIX = /usr/local
-- BUILD_DOCS = ON
-- RUN_CPPCHECK = OFF
-- Change a values with: cmake -D<Variable>=<Value>
-- ------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/mydumper-0.5.2

2) make
canning dependencies of target mydumper
[ 20%] Building C object CMakeFiles/mydumper.dir/mydumper.c.o
[ 40%] Building C object CMakeFiles/mydumper.dir/binlog.c.o
In file included from /home/user/mydumper-0.5.2/binlog.c:27:
/usr/include/mysql/sql_common.h:26:18: error: hash.h: No such file or directory
In file included from /home/user/mydumper-0.5.2/binlog.c:27:
/usr/include/mysql/sql_common.h:37: error: expected specifier-qualifier-list before ‘HASH’
make[2]: *** [CMakeFiles/mydumper.dir/binlog.c.o] Error 1
make[1]: *** [CMakeFiles/mydumper.dir/all] Error 2
make: *** [all] Error 2

What is the error about?
Would like to test mydumper and myloader.

Regards
Charles Hii

Question information

Language:
English Edit question
Status:
Answered
For:
MySQL Data Dumper Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andrewk (andrewk-g) said :
#1

i fixed this by grabbing hash.h from source and copying it to the include directory,

i am running mysql 5.6.10, so grab the source for your version.

wget http://downloads.mysql.com/archives/get/file/mysql-5.6.10.tar.gz
tar zxvf mysql-5.6.10.tar.gz
cp mysql-5.6.10/include/hash.h /usr/include/mysql/

re-run make.

Revision history for this message
Charles (hiicharles) said :
#2

Hi Andrewk,

Thanks for the reply.
I believe your solution should work since previous error is missing hash.h file.

I cannot reproduce the same error since I had uninstall the mysql and re-install it.
But i try it again and get the following.

CentOS 6.5
MySQL 5.5.35

# cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL: /usr/include/mysql, /usr/lib64/mysql/libmysqlclient.so;/usr/lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/libm.so;/usr/lib64/librt.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so;/usr/lib64/libdl.so
-- Found ZLIB: /usr/lib64/libz.so
-- checking for one of the modules 'glib-2.0'
-- found glib-2.0, version 2.26.1
-- checking for one of the modules 'gthread-2.0'
-- found gthread-2.0, version 2.26.1
-- checking for module 'libpcre'
-- found libpcre, version 7.8
-- Found PCRE: /usr/include

WARNINGUnable to find Sphinx documentation generator
-- ------------------------------------------------
-- MYSQL_CONFIG = /usr/bin/mysql_config
-- CMAKE_INSTALL_PREFIX = /usr/local
-- BUILD_DOCS = ON
-- RUN_CPPCHECK = OFF
-- Change a values with: cmake -D<Variable>=<Value>
-- ------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/mydumper-0.5.2

# make
Scanning dependencies of target mydumper
[ 20%] Building C object CMakeFiles/mydumper.dir/mydumper.c.o
[ 40%] Building C object CMakeFiles/mydumper.dir/binlog.c.o
[ 60%] Building C object CMakeFiles/mydumper.dir/server_detect.c.o
[ 80%] Building C object CMakeFiles/mydumper.dir/g_unix_signal.c.o
Linking C executable mydumper
CMakeFiles/mydumper.dir/mydumper.c.o: In function `dump_schema_data':
/home/user/mydumper-0.5.2/mydumper.c:1182: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:1182: undefined reference to `mysql_use_result'
/home/user/mydumper-0.5.2/mydumper.c:1193: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:1183: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `estimate_count':
/home/user/mydumper-0.5.2/mydumper.c:995: undefined reference to `mysql_real_escape_string'
/home/user/mydumper-0.5.2/mydumper.c:1001: undefined reference to `mysql_real_escape_string'
/home/user/mydumper-0.5.2/mydumper.c:1009: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:1021: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:1022: undefined reference to `mysql_fetch_fields'
/home/user/mydumper-0.5.2/mydumper.c:1025: undefined reference to `mysql_num_fields'
/home/user/mydumper-0.5.2/mydumper.c:1035: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:1041: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:1018: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:1013: undefined reference to `mysql_query'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `get_chunks_for_table':
/home/user/mydumper-0.5.2/mydumper.c:880: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:882: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:884: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:925: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:927: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:973: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:975: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:932: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:933: undefined reference to `mysql_fetch_fields'
/home/user/mydumper-0.5.2/mydumper.c:894: undefined reference to `mysql_data_seek'
/home/user/mydumper-0.5.2/mydumper.c:895: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:909: undefined reference to `mysql_data_seek'
/home/user/mydumper-0.5.2/mydumper.c:910: undefined reference to `mysql_fetch_row'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `reconnect_for_binlog':
/home/user/mydumper-0.5.2/mydumper.c:432: undefined reference to `mysql_close'
/home/user/mydumper-0.5.2/mydumper.c:435: undefined reference to `mysql_init'
/home/user/mydumper-0.5.2/mydumper.c:442: undefined reference to `mysql_options'
/home/user/mydumper-0.5.2/mydumper.c:444: undefined reference to `mysql_real_connect'
/home/user/mydumper-0.5.2/mydumper.c:439: undefined reference to `mysql_options'
/home/user/mydumper-0.5.2/mydumper.c:445: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `binlog_thread':
/home/user/mydumper-0.5.2/mydumper.c:643: undefined reference to `mysql_init'
/home/user/mydumper-0.5.2/mydumper.c:644: undefined reference to `mysql_options'
/home/user/mydumper-0.5.2/mydumper.c:646: undefined reference to `mysql_real_connect'
/home/user/mydumper-0.5.2/mydumper.c:651: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:652: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:653: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:656: undefined reference to `mysql_thread_id'
/home/user/mydumper-0.5.2/mydumper.c:659: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:660: undefined reference to `mysql_close'
/home/user/mydumper-0.5.2/mydumper.c:661: undefined reference to `mysql_thread_id'
/home/user/mydumper-0.5.2/mydumper.c:664: undefined reference to `mysql_close'
/home/user/mydumper-0.5.2/mydumper.c:670: undefined reference to `mysql_thread_end'
/home/user/mydumper-0.5.2/mydumper.c:666: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:667: undefined reference to `mysql_close'
/home/user/mydumper-0.5.2/mydumper.c:647: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `create_main_connection':
/home/user/mydumper-0.5.2/mydumper.c:577: undefined reference to `mysql_init'
/home/user/mydumper-0.5.2/mydumper.c:578: undefined reference to `mysql_options'
/home/user/mydumper-0.5.2/mydumper.c:580: undefined reference to `mysql_real_connect'
/home/user/mydumper-0.5.2/mydumper.c:584: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:587: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:588: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:585: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:581: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `write_snapshot_info':
/home/user/mydumper-0.5.2/mydumper.c:263: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:264: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:265: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:270: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:271: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:273: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:274: undefined reference to `mysql_fetch_fields'
/home/user/mydumper-0.5.2/mydumper.c:275: undefined reference to `mysql_num_fields'
/home/user/mydumper-0.5.2/mydumper.c:299: undefined reference to `mysql_free_result'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `dump_database':
/home/user/mydumper-0.5.2/mydumper.c:1062: undefined reference to `mysql_select_db'
/home/user/mydumper-0.5.2/mydumper.c:1068: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:1076: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:1077: undefined reference to `mysql_fetch_fields'
/home/user/mydumper-0.5.2/mydumper.c:1080: undefined reference to `mysql_num_fields'
/home/user/mydumper-0.5.2/mydumper.c:1092: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:1092: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:1069: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:1086: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `start_dump':
/home/user/mydumper-0.5.2/mydumper.c:697: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:698: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:737: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:744: undefined reference to `mysql_get_server_version'
/home/user/mydumper-0.5.2/mydumper.c:748: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:700: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:704: undefined reference to `mysql_fetch_fields'
/home/user/mydumper-0.5.2/mydumper.c:707: undefined reference to `mysql_num_fields'
/home/user/mydumper-0.5.2/mydumper.c:716: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:721: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:722: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:716: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:733: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:744: undefined reference to `mysql_get_server_version'
/home/user/mydumper-0.5.2/mydumper.c:745: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:846: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:750: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:751: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:753: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:738: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:790: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:790: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:795: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:795: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:800: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:765: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:791: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `exec_thread':
/home/user/mydumper-0.5.2/mydumper.c:616: undefined reference to `mysql_close'
/home/user/mydumper-0.5.2/mydumper.c:617: undefined reference to `mysql_thread_end'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `main':
/home/user/mydumper-0.5.2/mydumper.c:561: undefined reference to `mysql_thread_end'
/home/user/mydumper-0.5.2/mydumper.c:562: undefined reference to `mysql_server_end'
/home/user/mydumper-0.5.2/mydumper.c:557: undefined reference to `mysql_close'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `dump_table_data':
/home/user/mydumper-0.5.2/mydumper.c:1329: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:1329: undefined reference to `mysql_use_result'
/home/user/mydumper-0.5.2/mydumper.c:1336: undefined reference to `mysql_num_fields'
/home/user/mydumper-0.5.2/mydumper.c:1337: undefined reference to `mysql_fetch_fields'
/home/user/mydumper-0.5.2/mydumper.c:1347: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:1348: undefined reference to `mysql_fetch_lengths'
/home/user/mydumper-0.5.2/mydumper.c:1347: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/mydumper.c:1387: undefined reference to `mysql_errno'
/home/user/mydumper-0.5.2/mydumper.c:1410: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:1330: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:1365: undefined reference to `mysql_real_escape_string'
/home/user/mydumper-0.5.2/mydumper.c:1388: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `process_queue':
/home/user/mydumper-0.5.2/mydumper.c:308: undefined reference to `mysql_init'
/home/user/mydumper-0.5.2/mydumper.c:311: undefined reference to `mysql_options'
/home/user/mydumper-0.5.2/mydumper.c:316: undefined reference to `mysql_real_connect'
/home/user/mydumper-0.5.2/mydumper.c:320: undefined reference to `mysql_thread_id'
/home/user/mydumper-0.5.2/mydumper.c:326: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:329: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:340: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:414: undefined reference to `mysql_close'
/home/user/mydumper-0.5.2/mydumper.c:416: undefined reference to `mysql_thread_end'
/home/user/mydumper-0.5.2/mydumper.c:402: undefined reference to `mysql_thread_id'
/home/user/mydumper-0.5.2/mydumper.c:335: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:336: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/mydumper.c:338: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/mydumper.c:308: undefined reference to `mysql_init'
/home/user/mydumper-0.5.2/mydumper.c:314: undefined reference to `mysql_options'
/home/user/mydumper-0.5.2/mydumper.c:330: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:327: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:323: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/mydumper.c:324: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/mydumper.c:317: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `dump_schema_data':
/home/user/mydumper-0.5.2/mydumper.c:1210: undefined reference to `mysql_free_result'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `write_snapshot_info':
/home/user/mydumper-0.5.2/mydumper.c:301: undefined reference to `mysql_free_result'
CMakeFiles/mydumper.dir/mydumper.c.o: In function `dump_database':
/home/user/mydumper-0.5.2/mydumper.c:1147: undefined reference to `mysql_free_result'
CMakeFiles/mydumper.dir/binlog.c.o: In function `get_binlog_file':
/home/user/mydumper-0.5.2/binlog.c:132: undefined reference to `mysql_thread_id'
/home/user/mydumper-0.5.2/binlog.c:160: undefined reference to `my_net_read'
/home/user/mydumper-0.5.2/binlog.c:163: undefined reference to `mysql_errno'
CMakeFiles/mydumper.dir/binlog.c.o: In function `get_binlogs':
/home/user/mydumper-0.5.2/binlog.c:76: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/binlog.c:81: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/binlog.c:82: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/binlog.c:91: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/binlog.c:93: undefined reference to `mysql_query'
/home/user/mydumper-0.5.2/binlog.c:101: undefined reference to `mysql_store_result'
/home/user/mydumper-0.5.2/binlog.c:102: undefined reference to `mysql_fetch_row'
/home/user/mydumper-0.5.2/binlog.c:113: undefined reference to `mysql_free_result'
/home/user/mydumper-0.5.2/binlog.c:94: undefined reference to `mysql_error'
/home/user/mydumper-0.5.2/binlog.c:77: undefined reference to `mysql_error'
CMakeFiles/mydumper.dir/server_detect.c.o: In function `detect_server':
/home/user/mydumper-0.5.2/server_detect.c:29: undefined reference to `mysql_get_server_info'
collect2: ld returned 1 exit status
make[2]: *** [mydumper] Error 1
make[1]: *** [CMakeFiles/mydumper.dir/all] Error 2
make: *** [all] Error 2

Any idea?

Regards
Charles

Revision history for this message
Max Bubenick (max-bubenick) said :
#3

Hi Charles can you provide the output of

rpm -qa | egrep -i "mysql|percona"

and

ls -l /usr/lib64/mysql

Revision history for this message
batfastad (batfastad) said :
#4

Hi there

Just received this same error on CentOS 6.5 with mydumper-0.6.1 and the Oracle MySQL repo.
Output as requested...
# rpm -qa | egrep -i "mysql|percona"
mysql-community-release-el6-5.noarch
mysql-community-common-5.6.16-1.el6.x86_64
mysql-community-client-5.6.16-1.el6.x86_64
mysql-community-server-5.6.16-1.el6.x86_64
mysql-community-devel-5.6.16-1.el6.x86_64
mysql-community-libs-5.6.16-1.el6.x86_64
mysql-community-libs-compat-5.6.16-1.el6.x86_64

# ls -l /usr/lib64/mysql
total 33152
-rw-r--r-- 1 root root 19457456 Jan 14 15:55 libmysqlclient.a
lrwxrwxrwx 1 root root 16 Mar 10 16:54 libmysqlclient_r.a -> libmysqlclient.a
lrwxrwxrwx 1 root root 17 Mar 10 16:54 libmysqlclient_r.so -> libmysqlclient.so
lrwxrwxrwx 1 root root 26 Mar 2 22:41 libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
-rwxr-xr-x 1 root root 2820570 Jan 14 15:59 libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root 20 Mar 2 22:40 libmysqlclient_r.so.18 -> libmysqlclient.so.18
lrwxrwxrwx 1 root root 24 Mar 2 22:40 libmysqlclient_r.so.18.1.0 -> libmysqlclient.so.18.1.0
lrwxrwxrwx 1 root root 20 Mar 10 16:54 libmysqlclient.so -> libmysqlclient.so.18
lrwxrwxrwx 1 root root 24 Mar 2 22:41 libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
-rwxr-xr-x 1 root root 2788332 Jan 14 15:59 libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root 24 Mar 2 22:40 libmysqlclient.so.18 -> libmysqlclient.so.18.1.0
-rwxr-xr-x 1 root root 8854601 Jan 14 15:55 libmysqlclient.so.18.1.0
-rw-r--r-- 1 root root 14814 Jan 14 15:54 libmysqlservices.a
drwxr-xr-x 3 root root 4096 Mar 2 22:40 plugin

Hope this is useful

Revision history for this message
Max Bubenick (max-bubenick) said :
#5

If by the same error you mean the hash

/usr/include/mysql/sql_common.h:26:18: error: hash.h: No such file or directory

this is because of binlog.c that is linked to a non public API that was removed in 5.6. We still didn't decide what to do about, but you have two options, as mentioned above you will need to use the source code, or if you don't use mydumper to take binlog backups you can compile from this branch:

bzr branch lp:~perconardba/mydumper/0.6.1-nobinlog

is the same code as 0.6.1 but binlog options were removed.

Can you help with this problem?

Provide an answer of your own, or ask Charles for more information if necessary.

To post a message you must log in.