Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516376

Summary: dev-db/mysql-workbench-6.1.6 database migration data copy broken
Product: Gentoo Linux Reporter: Tom Hope <Tom.Hope>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch the migration CMakeLists.txt

Description Tom Hope 2014-07-04 15:24:41 UTC
The data copy step of a migration from MSSQL to MySQL failed with the following error:
  /usr/bin/wbcopytables: error while loading shared libraries: libwbbase.so: cannot open shared object file: No such file or directory

Reproducible: Always

Steps to Reproduce:
1. /usr/bin/wbcopytables --help
Actual Results:  
/usr/bin/wbcopytables: error while loading shared libraries: libwbbase.so: cannot open shared object file: No such file or directory

Expected Results:  
the help text!

This seems to be caused by the wbcopytables application not being correctly linked to /usr/lib/libwbbase.so, there is a related bug on debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739515
Comment 1 Tom Hope 2014-07-04 15:29:35 UTC
Created attachment 380194 [details, diff]
Patch the migration CMakeLists.txt

The attached patch is a diff between the main portage tree and my local repository.

This change makes wbcopytables work, (copied from mysql-workbench-community-6.1.6-src/frontend/linux/workbench/CMakeLists.txt line 52), unlike the one used in the debian bug report.
Comment 2 Hans de Graaff gentoo-dev Security 2014-07-12 09:12:48 UTC
Thanks for the report and patch. Fixed in mysql-workbench 6.1.7.