Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5.30
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:CentOS 6.4 64bit, Nginx 1.4.1, PHP 5.3.25 PHP-FPM, MariaDB 5.5.30 via official YUM repository
Description
Problem: Mydumper 0.5.2 no longer works and can not be compiled with MariaDB 5.5.30 while it worked fine with MariaDB 5.5.24. So something changed since MariaDB 5.5.24 ?
Detail of problem at https://bugs.launchpad.net/mandriva/+bug/803982, Mydumper folks won't fix it at their end so it's left up to MariaDB folks to tackle it I hope as Mydumper is very useful for much faster multi-threaded backups !.
error = 'undefined reference to `my_net_read''
-- ------------------------------------------------ -- 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: /usr/local/src/mydumper-0.5.2 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/binlog.c.o: In function `get_binlog_file': /usr/local/src/mydumper-0.5.2/binlog.c:160: undefined reference to `my_net_read' collect2: ld returned 1 exit status make[2]: *** [mydumper] Error 1 make[1]: *** [CMakeFiles/mydumper.dir/all] Error 2 make: *** [all] Error 2
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Why don't you link with static library that has all symbols? Or, remove binlog.c from compilation, as Domas suggested in the comments to the link you pasted