[bug-notifications] [mysql5client 0004839]: Package is missing 64-bit libmysqlclient.so.15, mysql command doesn't work

Mantis Bug Tracker noreply at opencsw.org
Fri Sep 30 00:27:01 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4839 
====================================================================== 
Reported By:                gadavis
Assigned To:                
====================================================================== 
Project:                    mysql5client
Issue ID:                   4839
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-09-29 22:24 CEST
Last Modified:              2011-09-30 00:27 CEST
====================================================================== 
Summary:                    Package is missing 64-bit libmysqlclient.so.15,
mysql command doesn't work
Description: 
[davis at anfweb-dev:~]$ pkginfo -l CSWmysql5client | grep VERSION
   VERSION:  5.0.87,REV=2011.03.07


[davis at anfweb-dev:~]$ ldd /opt/csw/mysql5/bin/sparcv9/mysql
        libncursesw.so.5 =>      /opt/csw/lib/sparcv9/libncursesw.so.5
        libmysqlclient.so.15 =>  /opt/csw/lib/sparcv8/libmysqlclient.so.15 
- wrong ELF class: ELFCLASS32
        librt.so.1 =>    /lib/64/librt.so.1
        libresolv.so.2 =>        /lib/64/libresolv.so.2
        libc.so.1 =>     /lib/64/libc.so.1
        libgen.so.1 =>   /lib/64/libgen.so.1
        libsocket.so.1 =>        /lib/64/libsocket.so.1
        libnsl.so.1 =>   /lib/64/libnsl.so.1
        libm.so.1 =>     /lib/64/libm.so.1
        libz.so.1 =>     /opt/csw/lib/sparcv9/libz.so.1
        libCstd.so.1 =>  /usr/lib/64/libCstd.so.1
        libCrun.so.1 =>  /usr/lib/64/libCrun.so.1
        libthread.so.1 =>        /lib/64/libthread.so.1
        libaio.so.1 =>   /lib/64/libaio.so.1
        libmd.so.1 =>    /lib/64/libmd.so.1
        libmp.so.2 =>    /lib/64/libmp.so.2
        libscf.so.1 =>   /lib/64/libscf.so.1
        libdoor.so.1 =>  /lib/64/libdoor.so.1
        libuutil.so.1 =>         /lib/64/libuutil.so.1
        libm.so.2 =>     /lib/64/libm.so.2
        /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr.so.1
        /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libmd_psr.so.1


[davis at anfweb-dev:~]$ ls -l /opt/csw/lib/sparcv9/libmysqlclient*     
gls: cannot access /opt/csw/lib/sparcv9/libmysqlclient*: No such file or
directory

====================================================================== 

---------------------------------------------------------------------- 
 (0009312) maciej (manager) - 2011-09-30 00:27
 https://www.opencsw.org/mantis/view.php?id=4839#c9312 
---------------------------------------------------------------------- 
I can't reproduce it on the buildfarm:

maciej at unstable9s :~/src/opencsw/pkg/mysql5/branches/mysql-5.0.x > pkgparam
CSWmysql5client VERSION
5.0.87,REV=2011.03.07
maciej at unstable9s :~/src/opencsw/pkg/mysql5/branches/mysql-5.0.x > ldd
/opt/csw/mysql5/bin/sparcv9/mysql
        /usr/lib/secure/64/s9_preload.so.1
        libncursesw.so.5 =>      /opt/csw/lib/sparcv9/libncursesw.so.5
        libmysqlclient.so.15 => 
/opt/csw/mysql5/lib/sparcv9/libmysqlclient.so.15
        librt.so.1 =>    /usr/lib/64/librt.so.1
        libresolv.so.2 =>        /usr/lib/64/libresolv.so.2
        libc.so.1 =>     /usr/lib/64/libc.so.1
        libgen.so.1 =>   /usr/lib/64/libgen.so.1
        libsocket.so.1 =>        /usr/lib/64/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/64/libnsl.so.1
        libm.so.1 =>     /usr/lib/64/libm.so.1
        libz.so.1 =>     /opt/csw/lib/sparcv9/libz.so.1
        libCstd.so.1 =>  /usr/lib/64/libCstd.so.1
        libCrun.so.1 =>  /usr/lib/64/libCrun.so.1
        libthread.so.1 =>        /usr/lib/64/libthread.so.1
        libaio.so.1 =>   /usr/lib/64/libaio.so.1
        libmd5.so.1 =>   /usr/lib/64/libmd5.so.1
        libdl.so.1 =>    /usr/lib/64/libdl.so.1
        libmp.so.2 =>    /usr/lib/64/libmp.so.2
       
/usr/platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr.so.1

Something is wrong in the way the mysql binary is looking for the shared
libraries. Could you truss it and list all the consecutive paths it tries
to open?

Can you also check for the CSWlibmysqlclient15 package, is it installed in
your system?



More information about the bug-notifications mailing list