Bug #15218 MySQL Workbench can't find a library, but the library is installed
Submitted: 24 Nov 2005 10:45 Modified: 26 Apr 2006 16:26
Reporter: Simone Marchioni Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Preview Severity:S1 (Critical)
Version:1.0.0alpha OS:Linux (Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any

[24 Nov 2005 10:45] Simone Marchioni
Description:
I downloaded and uncompressed MySQL Workbench binary (mysql-workbench-1.0.0-alpha-linux-i386.tar.gz).
When I launched the binary (bin/mysql-workbench), it showed the following error message:

./mysql-workbench-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.5' not found (required by ./mysql-workbench-bin)
./mysql-workbench-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.4' not found (required by ./mysql-workbench-bin)

But the libraries are installed and them are in the directory /usr/lib. The output of the command

rpm -qa | grep libstdc

is the following:

libstdc++-3.4.4-2.fc3
libstdc++-devel-3.4.4-2.fc3
compat-libstdc++-8-3.3.4.2

And:

rpm -ql libstdc++-3.4.4-2.fc3

/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.3

My O.S. is a Fedora Core 3 with all packages updated.

How to repeat:
Downloaded and uncompressed MySQL Workbench binary and execute the binary.
[24 Nov 2005 15:16] Jorge del Conde
Hi!

Can you please make sure that you have the latest GLIB library installed ?

I tried to reproduce this bug without success.
[24 Nov 2005 16:07] Simone Marchioni
I checked my system with the following command:

rpm -qa | grep glib

and the result was:

glibc-common-2.3.6-0.fc3.1
glib-1.2.10-15
glib2-devel-2.4.8-1.fc3
glib2-2.4.8-1.fc3
glibmm24-2.4.5-1
glibc-headers-2.3.6-0.fc3.1
glibc-kernheaders-2.4-9.1.87
dbus-glib-0.22-10.FC3.2
glibc-devel-2.3.6-0.fc3.1
glibc-2.3.6-0.fc3.1

What library MySQL Workbench complain about? These are the latest version available in the updates released. Maybe I need a more recent distro like Fedora Core 4...
[17 Jan 2006 11:32] Jon Stephens
I'm reopening this because I had similar issues on SuSE 9.3. I was also unable to build from source.

If there's a working binary of this app, then please advise how and where it was built.

Thanks.

Note Bug#15421 is a duplicate of this bug.
[17 Jan 2006 22:07] Joshua Trimm
I am also having this issue, rpm's are up to date, running fedora core 3.
[20 Jan 2006 9:49] Aleksey Kishkin
Hi!
  at this moment we do not process bugs of mysql workbench, because it's still
in the intensive development, and we provided snapshot in order to give people
first implression of WB. 

I am changing status to 'Analyzing' and return to this bugreport when WB will be
issued officially.
[7 Feb 2006 10:02] Vedanta Barooah
I am having the same error with mysql-administrator (1.1), on RHEL 4 Update 2..

glibc-2.3.4-2.13
glib2-2.4.7-1
glibc-common-2.3.4-2.13
glib-1.2.10-15
libstdc++-3.4.4-2
compat-libstdc++-33-3.2.3-47.3

Error:
/usr/local/mysql-administrator/bin/mysql-administrator-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.4' not found (required by /usr/local/mysql-administrator/bin/mysql-administrator-bin)
[19 Feb 2006 3:27] Luiz
I have the same error with Debian Woody Linux kernel2.4.18-bf2.4. 

I tried to execute mysql-workbench-bin and two lines errors are displayed: 

... /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.5' not found (required by ./mysql-workbench-bin

... /usr/lib/libstdc++.so.6: version 'GLIBCXX_3.4.4' not found (required by ./mysql-workbench-bin

/usr/lib/libstdc++.so.6 is a symbolic link pointing to /usr/lib/libstdc++.so.6.0.3

Thanks.
[26 Apr 2006 16:26] Alfredo Kojima
Thank you for your bug report. This issue has already been fixed
in the latest released version of that product, which you can download at 
http://www.mysql.com/downloads/

Additional info:

We're now shipping more pre-built binaries for different distributions (and also linking more libraries statically), which should solve the problem for most people. For some less common distributions (and versions), you will have to build your own binaries, tho.