OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004836 [mysql5] regular use major always 2011-09-28 18:26 2012-02-26 20:05
Reporter duncs View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004836: mysql_config reporting wrong 64 bit directory
Description /opt/csw/bin/mysql_config shows

--libs_r [-m64 -xarch=sse2 -norunpath -L/opt/csw/mysql5/lib/64 -L/opt/csw/lib/64 -L/opt/csw/lib/mysql -lmysqlclient_r -L/opt/csw/lib -lz -lpthread -lposix4 -lc -lgen -lsocket -lnsl -lm -lpthread]

however

# ls /opt/csw/mysql5/lib/
amd64

so either mysql_config reports the wrong '64' dir or thepackaging uses the wrong 'amd64' dir

As a workaround I have symlinked amd64 to 64 within /opt/csw/mysql5/lib/
Additional Information # pkginfo -l CSWmysql5
   PKGINST: CSWmysql5
      NAME: mysql5 - Multithreaded SQL database
  CATEGORY: application
      ARCH: i386
   VERSION: 5.0.87,REV=2011.03.07
   BASEDIR: /
    VENDOR: http://www.mysql.com/ [^] packaged for CSW by Maciej Blizinski
    PSTAMP: maciej@current9x-20110307101041
  INSTDATE: Sep 16 2011 13:30
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: maciej@opencsw.org
    STATUS: completely installed
     FILES: 347 installed pathnames
                   8 shared pathnames
                  31 linked files
                  58 directories
                  68 executables
              127926 blocks used (approx)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009664)
maciej (reporter)
2012-02-26 20:05

This is now fixed.

vsol05 ~ # /opt/csw/bin/amd64/mysql_config
Usage: /opt/csw/bin/amd64/mysql_config [OPTIONS]
Options:
        --cflags [-I/opt/csw/include/mysql -m64 -xarch=sse2 -mt -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__ -DBIG_TABLES -DHAVE_RWLOCK_T]
        --include [-I/opt/csw/include/mysql]
        --libs [-m64 -xarch=sse2 -L/opt/csw/lib/64 -L/opt/csw/lib/64/mysql -lmysqlclient -L/opt/csw/lib -lz -lposix4 -lc -lgen -lsocket -lnsl -lm]
        --libs_r [-m64 -xarch=sse2 -L/opt/csw/lib/64 -L/opt/csw/lib/64/mysql -lmysqlclient_r -L/opt/csw/lib -lz -lpthread -lposix4 -lc -lgen -lsocket -lnsl -lm -lpthread]
        --socket [/tmp/mysql.sock]
        --port [0]
        --version [5.0.95]
        --libmysqld-libs [-m64 -xarch=sse2 -L/opt/csw/lib/64 -L/opt/csw/lib/64/mysql -lmysqld -L/opt/csw/lib -lz -lpthread -lposix4 -lc -lgen -lsocket -lnsl -lm -lpthread -lwrap -lrt]

All mysql libraries live in /opt/csw/lib(/64).


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker