Bug #97829 cannot build workbench undefined reference to 'get_driver_instance'
Submitted: 29 Nov 2019 14:20 Modified: 3 Dec 2019 12:24
Reporter: John Herreshoff Email Updates:
Status: Unsupported Impact on me:
Category:MySQL Workbench Severity:S3 (Non-critical)
Version: OS:Linux (slackware64-current)
Assigned to: CPU Architecture:x86 (i5-3570)

[29 Nov 2019 14:20] John Herreshoff
The compile stops with this:

[ 90%] Linking CXX executable mysql-workbench-bin
/usr/bin/ld: /bausite/git/mysql-workbench/wb-build/library/cdbc/libcdbc.so.8.0.18: undefined reference to `get_driver_instance'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/genwrap/CMakeFiles/genwrap.dir/build.make:94: tools/genwrap/genwrap] Error 1
make[1]: *** [CMakeFiles/Makefile2:1734: tools/genwrap/CMakeFiles/genwrap.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 90%] Building CXX object plugins/db.mysql/CMakeFiles/db.mysql.wbp.dir/backend/db_mysql_sql_export.cpp.o
/usr/bin/ld: ../../../library/cdbc/libcdbc.so.8.0.18: undefined reference to `get_driver_instance'
/usr/bin/ld: ../../../backend/wbprivate/libwbprivate.so.8.0.18: undefined reference to `typeinfo for sql::mysql::MySQL_Connection'
collect2: error: ld returned 1 exit status
make[2]: *** [frontend/linux/workbench/CMakeFiles/mysql-workbench-bin.dir/build.make:284: frontend/linux/workbench/mysql-workbench-bin] Error 1
make[1]: *** [CMakeFiles/Makefile2:1927: frontend/linux/workbench/CMakeFiles/mysql-workbench-bin.dir/all] Error 2
[ 90%] Building CXX object plugins/db.mysql/CMakeFiles/db.mysql.wbp.dir/backend/db_mysql_sql_script_sync.cpp.o
with this:

How to repeat:
It's a build problem.

Suggested fix:
Tell me what I should try :-)
[3 Dec 2019 12:24] MySQL Verification Team
Hello John Herreshoff,

Thank you for taking time to report a problem.  Unfortunately you are not using the supported platforms https://www.mysql.com/support/supportedplatforms/workbench.html
Please try on supported platforms and let us know if you are still having the same issue along with exact details this bug and change the status back to 'Open'.  

Thank you for your interest in MySQL.

Ashwini Patil