[Re: [GRASS-dev] [bug #5494] (grass) grass-6.2.1-1suse10.2.x86_64.rpm, failed dependencies: libmysqlclient.so.15]

-------- Original Message --------
Subject: Re: [GRASS-dev] [bug #5494] (grass) grass-6.2.1-1suse10.2.x86_64.rpm, failed dependencies: libmysqlclient.so.15
Date: Tue, 13 Feb 2007 02:59:19 +0100
From: Joerg P. <3002f1@online.de>
To: mlennert@club.worldonline.be

Excuse if this mail is doubly, but when I replied over
http://intevation.de/rt/webrt I could not see my text in the ticket 5494.

On Mon, February 12, 2007 22:11, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=5494
-------------------------------------------------------------------------

Subject: grass-6.2.1-1suse10.2.x86_64.rpm, failed dependencies:
libmysqlclient.so.15

When I tried to install the binaries for GRASS 6.2.1 (together with geos,
gdal, proj) I got the rpm error message "Failed dependencies" for
libmysqlclient.so.15 and libpng12.so.0. But I have both.

[...]
> root:/download> rpm -q --whatprovides libmysqlclient.so.15
> mysql-shared-32bit-5.0.18-16

You are trying to install a 64bit version of GRASS which needs the 64bit
version of the libraries, but your mysql is 32bit.

Moritz

Thank you for your reply. I think, this is not the problem, because I have
installed the 64bit-mysql, see below. The name of the
package "mysql-shared-32bit" only make us believe that it would be the
32bit-MySQL, but it comes from mysql-shared-32bit-5.0.18-16.x86_64.rpm, and
the libraries are in /usr/lib64. The files from /usr/lib64/mysql are linked
to /usr/lib64.

The 64bit-RPMs from SuSE provide two "mysql-shared", I guess to allow
connections from 64bit- and 32bit programs to 64bit-MySQL. These libraries
are in /usr/lib, and the files from /usr/lib/mysql are linked to /usr/lib.

If I'm not wrong, how could the status of my request be changed to "open"?

Jörg

I hope these informations are useful to you:

root:/download> rpm -q mysql-shared
   mysql-shared-5.0.18-16

comes from: mysql-shared-5.0.18-16.x86_64.rpm

(RPM-files:)
root:/download> rpm -q --provides mysql-shared-5.0.18-16
   mysqllib
   libmysqlclient.so.15()(64bit)
   libmysqlclient_r.so.15()(64bit)
   mysql-shared = 5.0.18-16

I think, that tells me, that I do have the "libmysqlclient.so.15()(64bit)"
from what grass-6.2.1-1suse10.2.x86_64.rpm said I would have not.

Additionally I have from x86_64-RPM:

root:/download> rpm -q mysql-shared-32bit
   mysql-shared-32bit-5.0.18-16

comes from: mysql-shared-32bit-5.0.18-16.x86_64.rpm

(RPM-files:)
root:/download> rpm -q --provides mysql-shared-32bit-5.0.18-16
   libmysqlclient.so.15
   libmysqlclient_r.so.15
   mysql-shared-32bit = 5.0.18-16

My MySQL is installed from the original SuSE-10.1-DVD:
root:/download> ls -1 /media/SU1010_001/suse/x86_64/mysql*
/media/SU1010_001/suse/x86_64/mysql-5.0.18-16.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-Max-5.0.18-16.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-administrator-1.1.6-14.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-client-5.0.18-16.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-devel-5.0.18-16.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-gui-common-0.6.0-15.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-query-browser-1.1.18-15.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-shared-32bit-5.0.18-16.x86_64.rpm
/media/SU1010_001/suse/x86_64/mysql-shared-5.0.18-16.x86_64.rpm

root:/download> ls -l /usr/lib/mysql
total 0
lrwxrwxrwx 1 root root 27 Dec 19 22:49
libmysqlclient.so.15 -> ../libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 27 Dec 19 22:49
libmysqlclient.so.15.0.0 -> ../libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 29 Dec 19 22:49
libmysqlclient_r.so.15 -> ../libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 29 Dec 19 22:49
libmysqlclient_r.so.15.0.0 -> ../libmysqlclient_r.so.15.0.0

root:/download> ls -l /usr/lib64/mysql
total 6257
-rw-r--r-- 1 root root 18528 Apr 23 2006 libdbug.a
-rw-r--r-- 1 root root 68900 Apr 23 2006 libheap.a
-rw-r--r-- 1 root root 446688 Apr 23 2006 libmyisam.a
-rw-r--r-- 1 root root 41642 Apr 23 2006 libmyisammrg.a
-rw-r--r-- 1 root root 1686898 Apr 23 2006 libmysqlclient.a
-rw-r--r-- 1 root root 869 Apr 23 2006 libmysqlclient.la
lrwxrwxrwx 1 root root 27 Dec 19 23:06
libmysqlclient.so -> ../libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 27 Dec 19 22:49
libmysqlclient.so.15 -> ../libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 27 Dec 19 22:49
libmysqlclient.so.15.0.0 -> ../libmysqlclient.so.15.0.0
-rw-r--r-- 1 root root 1698372 Apr 23 2006 libmysqlclient_r.a
-rw-r--r-- 1 root root 923 Apr 23 2006 libmysqlclient_r.la
lrwxrwxrwx 1 root root 29 Dec 19 23:06
libmysqlclient_r.so -> ../libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 29 Dec 19 22:49
libmysqlclient_r.so.15 -> ../libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 29 Dec 19 22:49
libmysqlclient_r.so.15.0.0 -> ../libmysqlclient_r.so.15.0.0
-rw-r--r-- 1 root root 1331354 Apr 23 2006 libmystrings.a
-rw-r--r-- 1 root root 417444 Apr 23 2006 libmysys.a
-rw-r--r-- 1 root root 10552 Apr 23 2006 libvio.a
-rw-r--r-- 1 root root 652887 Sep 14 01:22 mysqld.sym

Jörg, Moritz,

I reopened the ticket in the old RT now so you can continue the
discussion. However, as it is a fresh issue, it would be cool if Jörg
could open it under the new tracker [1] before proceeding, to continue
the discussion there. The old RT is really unconvenient.

Best,
Maciek

[1]http://grass.itc.it/bugtracking/index.php