[GRASS-dev] [grass-code I][295] grass-6.2.1-1suse10.2.x86_64.rpm, failed dependencies: libmysqlclient.so.15

code I item #295, was opened at 2007-02-15 01:00
Status: Open
Priority: 3
Submitted By: Jörg Pietruska (jpi)
Assigned to: Nobody (None)
Summary: grass-6.2.1-1suse10.2.x86_64.rpm, failed dependencies: libmysqlclient.so.15
Issue type: None
Issue status: None
GRASS version: 6.2.1
GRASS component: install
Operating system: Linux
Operating system version: 2.6.16.27-0.6-default, SUSE-10.1
GRASS CVS checkout date, if applies (YYMMDD):

Initial Comment:
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:

Linux/x86_64, SuSE-10.1, mysql-5.0.18-20.8

  root:/download> ls -1
    gdal-1.3.2-1suse10.2.x86_64.rpm
    gdal-grass-1.3.2-1suse10.2.x86_64.rpm
    geos-2.2.3-1suse10.2.x86_64.rpm
    grass-6.2.1-1suse10.2.x86_64.rpm
    proj-4.5.0-1suse10.2.x86_64.rpm

  root:/download> rpm --install --test *.rpm
   error: Failed dependencies:
    libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed
      by grass-6.2.1-1suse10.2.x86_64
    libpng12.so.0(PNG12_0)(64bit) is needed
      by grass-6.2.1-1suse10.2.x86_64

  root:/download> rpm -qf /usr/lib64/libmysqlclient.so.15
    mysql-shared-5.0.18-16
  
  root:/download> rpm -q mysql-shared
    mysql-shared-5.0.18-16
  
  root:/download> locate libpng12.so.0
    /usr/lib/libpng12.so.0
    /usr/lib/libpng12.so.0.1.2.8
    /usr/lib64/libpng12.so.0
    /usr/lib64/libpng12.so.0.1.2.8
  
  root:/download> rpm -q --whatprovides libmysqlclient.so.15
    mysql-shared-32bit-5.0.18-16
  
This looks like I would try to install a 64bit version of GRASS which needs the 64bit version of the libraries, but my MySQL would be 32bit. But this only seems so because I have 64bit MySQL:

  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) (-> failed dependencies??)
    libmysqlclient_r.so.15()(64bit)
    mysql-shared = 5.0.18-16

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

  root:/download> ls -1 /usr/lib/mysql*
    libmysqlclient.so.15
    libmysqlclient.so.15.0.0
    libmysqlclient_r.so.15
    libmysqlclient_r.so.15.0.0

  root:/download> locate libmysqlclient
    /usr/lib/libmysqlclient.so.15
    /usr/lib/libmysqlclient.so.15.0.0
    /usr/lib/libmysqlclient_r.so.15
    /usr/lib/libmysqlclient_r.so.15.0.0
    /usr/lib/mysql/libmysqlclient.so.15
    /usr/lib/mysql/libmysqlclient.so.15.0.0
    /usr/lib/mysql/libmysqlclient_r.so.15
    /usr/lib/mysql/libmysqlclient_r.so.15.0.0
    /usr/lib64/libmysqlclient.so
    /usr/lib64/libmysqlclient.so.15
    /usr/lib64/libmysqlclient.so.15.0.0
    /usr/lib64/libmysqlclient_r.so
    /usr/lib64/libmysqlclient_r.so.15
    /usr/lib64/libmysqlclient_r.so.15.0.0
    /usr/lib64/mysql/libmysqlclient.a
    /usr/lib64/mysql/libmysqlclient.la
    /usr/lib64/mysql/libmysqlclient.so
    /usr/lib64/mysql/libmysqlclient.so.15
    /usr/lib64/mysql/libmysqlclient.so.15.0.0
    /usr/lib64/mysql/libmysqlclient_r.a
    /usr/lib64/mysql/libmysqlclient_r.la
    /usr/lib64/mysql/libmysqlclient_r.so
    /usr/lib64/mysql/libmysqlclient_r.so.15
    /usr/lib64/mysql/libmysqlclient_r.so.15.0.0

I think, this 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. But why? How can I install the above-named RPMs?

Jörg

----------------------------------------------------------------------

You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=295&group_id=21