[bug-notifications] [mysql5 0004836]: mysql_config reporting wrong 64 bit directory

Mantis Bug Tracker noreply at opencsw.org
Sun Feb 26 20:05:17 CET 2012


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4836 
====================================================================== 
Reported By:                duncs
Assigned To:                maciej
====================================================================== 
Project:                    mysql5
Issue ID:                   4836
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-09-28 18:26 CEST
Last Modified:              2012-02-26 20:05 CET
====================================================================== 
Summary:                    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/
====================================================================== 

---------------------------------------------------------------------- 
 (0009664) maciej (manager) - 2012-02-26 20:05
 https://www.opencsw.org/mantis/view.php?id=4836#c9664 
---------------------------------------------------------------------- 
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).



More information about the bug-notifications mailing list