Bug #75012 error while loading shared libraries: libtinyxml.so.0
Submitted: 26 Nov 2014 17:42 Modified: 17 Feb 2015 1:44
Reporter: Dmitry Chorine Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.2.4 OS:Linux (CentOS Linux release 7.0.1406 (Core))
Assigned to: CPU Architecture:Any
Tags: mysql-workbench-community-6.2.4-1.el7.x86_64

[26 Nov 2014 17:42] Dmitry Chorine
Description:
After updating "mysql-workbench-community" package:

$ sudo grep mysql-workbench-community /var/log/yum.log | tail -1
Nov 26 11:08:03 Updated: mysql-workbench-community-6.2.4-1.el7.x86_64
$

I no longer able to open Workbench anymore and I'm getting following in syslog:

$ sudo grep mysql-workbench-bin /var/log/messages | tail -1
Nov 26 11:57:07 wcmisdlin02 gnome-session: /usr/libexec/mysql-workbench/mysql-workbench-bin: error while loading shared libraries: libtinyxml.so.0: cannot open shared object file: No such file or directory
$ 

It was working fine on previous version.

How to repeat:
install "mysql-workbench-community-6.2.4-1.el7.x86_64" and try to run it!

Suggested fix:
dunno
[27 Nov 2014 7:12] MySQL Verification Team
Thank you for the report.
Could you please confirm on how you installed MySQL workbench, from using official yum repo or downloaded package from from http://dev.mysql.com/downloads/workbench/?

Also, could you check whether  tinyxml is installed, if not then install it and give a try?

Thanks,
Umesh
[27 Nov 2014 12:17] David Hodgson
I can confirm this.  The previous version (mysql-workbench-community.x86_64 0:6.2.3-1.el6) had libtinyxml.so in the package.  The new version (mysql-workbench-community.x86_64 0:6.2.4-1.el6) does not.

Reverting to the previous version fixes the problem.

I'm running CentOS-6 & installed using yum update.  Repository is http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/
[27 Nov 2014 12:22] David Hodgson
Apologies.  Repo is http://repo.mysql.com/yum/mysql-tools-community/el/6/x86_64/
[2 Dec 2014 9:01] MySQL Verification Team
Thank you for the details.I'm not seeing this issue at my end mostly as epel repo is configured on my testbox.

Could you please check whether package tinyxml installed? Per http://dev.mysql.com/doc/workbench/en/wb-installing-linux.html couple of packages are need to be installed through epel.

Thanks,
Umesh
[2 Dec 2014 14:15] Terje Røsten
Verified, libtinyxml.so* and libzip.so* are required by the package, however reqs are filtered.
[2 Dec 2014 16:27] Dmitry Chorine
after installing "tinyxml" package:

[root@wcmisdlin02 ~]# tail -1 /var/log/yum.log 
Dec 02 11:23:30 Installed: tinyxml-2.6.2-3.el7.x86_64
[root@wcmisdlin02 ~]# 

MySQL Workbench is working now) 

package was not required prior to 6.2.4, I guess it should be one of dependencies going forward.
[2 Dec 2014 20:13] Dmitry Chorine
error

Attachment: Screenshot from 2014-12-02 12:30:25.png (image/png, text), 12.99 KiB.

[2 Dec 2014 20:14] Dmitry Chorine
I apologize, I attached screen shot to wrong ticket, please disregard it.
[12 Jan 2015 10:45] Miguel Tadeu Mota
Removed those filters. Should be working now.
[17 Feb 2015 1:44] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 6.2.5 release, and here's the changelog entry:

The Linux RPM builds failed to check for the "libzip" and "libtinyxml"
dependencies, and the installation process would continue when the system
did not have either of them installed.

Thank you for the bug report.
[22 Jun 2017 12:02] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=86696  marked as duplicate of this one.