Bug #14557 Install Fails: Failed Dependencies: libgtkhtml-3.6.so.18
Submitted: 2 Nov 2005 1:12 Modified: 16 May 2006 21:02
Reporter: Robin Luzi Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.1.17 OS:Linux (SuSE 10.0 Kernel 2.6)
Assigned to: Alfredo Kojima CPU Architecture:Any

[2 Nov 2005 1:12] Robin Luzi
Description:
When attempting to install MySQL-Query-Browser is fails with the following message:  Failed dependencies libgtkhtml-3.6.so.18 is needed by mysql-query-browser-1.1.17-1%(targos). However, libgtkhtml-3.8.0-3 is aleady installed on the system. 

mysql version 14.7 Distribution 4.1.13 for SuSE Linux i686 using readline 5.0
glibc-devel 2.3.5-40
binutils 2.16.91.0.2-8
AMD Athlon XP 2500+ i386
ASUS Motherboard

How to repeat:
Attempt installation on SuSE 10.
[18 Nov 2005 14:24] Robin Luzi
Update. I located the MySQL Query Browser for the SuSE 10 distribution (it was located on the DVD, yet it was missing from the CD set) as was able to sucessfully install it. That version is contained in the RPM mysql-query-browser-1.1.12-2.i586.rpm.
[21 Nov 2005 7:43] Ted Huntington
I have to say after spending a full day trying to get mysql-administrator and/or query-browser running, that I have to conclude that these programs are seriously not stress tested.  Initially I went back to mysqlcc, but that has an error too.  

This error is that query_browser is looking for a package...a package name of libgtkhtml-3.0, but libgtkhtml has not reached 3.0 yet according to their development page http://ftp.acc.umu.se/pub/GNOME/sources/libgtkhtml/2.11/.  One way around this is to copy /usr/lib/pkgconfig/libgtkhtml-2.pc to libgtkhtml-3.pc and change the version in the file.  

Doing that I got it to configure, but then it promptly had a syntax error...

mysql is great, but I look forward to working admin and query programs.  Maybe we are "watching eyes" too much.

thanks
Ted
[11 Jan 2006 16:47] Etienne Robillard
i had the same problem on fc4 and solved it with the following:
- edit configure.in and adjust the line where it is written the version number for libgtkhtml, for instance, if you have libgtkhtml-3.6, make it appear like this: 

# gnome libraries
#
AC_ARG_WITH(gtkhtml,
[  --with-gtkhtml=LIBRARY   specify the version of libgtkhtml to be used (default: libgtkhtml-3.0)],
     gtkhtml=$withval, gtkhtml=libgtkhtml-3.6)

... then do:
rm -rf configure
sh autogen.sh 

then you can try again with configure...

HTH
erob
[16 May 2006 21:02] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

I've modified the sources so that it can also use gtkhtml-2, which has far less dependencies and will be easier to statically link to the binary.  So the next release will no longer have these dependencies.