Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516376 - dev-db/mysql-workbench-6.1.6 database migration data copy broken
Summary: dev-db/mysql-workbench-6.1.6 database migration data copy broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-07-04 15:24 UTC by Tom Hope
Modified: 2014-07-12 09:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch the migration CMakeLists.txt (mysql-workbench.patch,1.41 KB, patch)
2014-07-04 15:29 UTC, Tom Hope
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.