Summary: | dev-db/mysql-workbench-6.1.7 - copytable.cpp:(.text+0x5868): undefined reference to `mysql_options4' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Hans de Graaff <graaff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bertrand, jouni.kosonen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://mariadb.atlassian.net/browse/MDEV-6638 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.bz2 |
Description
Juergen Rose
2014-08-23 06:31:01 UTC
mysql_options4 exists in >= mysql-5.6.6 but not in mariadb-10.0.13 FWIW, openSUSE chose to just #if 0 the call out altogether ( https://www.mail-archive.com/opensuse-commit@opensuse.org/msg60296.html ) is there a patch for it ? should i install mysql5.6, install mysql-workbench and then reinstall mariadb ? This looks to be a bug in mariadb so our mariadb maintainer has filed a bug with them. In the meantime I've applied a variant of the Suse patch to mysql-workbench-6.1.7, using #ifndef MARIADB_BASE_VERSION, rather than #if 0. I'll leave this bug open for now until we get more clarity on the mariadb upstream report. https://aur.archlinux.org/packages/mysql-workbench/?setlang=ru&comments=all " Comment by Esspy 2014-05-13 22:51 Hi, with your patch mysql-workbench does not compile. After i've changed it to -#if MYSQL_CHECK_VERSION(5,6,6) +#if MYSQL_CHECK_VERSION(10,0,10) + mysql_options(&_mysql, MYSQL_OPT_CONNECT_ATTR_ADD, "program_name"); +#elif MYSQL_CHECK_VERSION(5,6,6) it compiles fine. " This should have been fixed some time ago and all current versions should have that fix. |