From:             yusufg at outblaze dot com
Operating system: CentOS 4.1/x86-64
PHP version:      5CVS-2005-09-13 (snap)
PHP Bug Type:     *Configuration Issues
Bug description:  configure --with-mysql fails to find mysql librariies in 
/usr/lib64

Description:
------------
On my CentOS 4.1 box running on an Opteron (AMD64) I installed mysql and
mysql-devel from the CentOS repos
The libraries are installed in /usr/lib64

I have the following configure command for php 5.0.5


./configure --prefix=/usr/local/site/php50 \
            --with-apxs2=/usr/local/site/ap20/bin/apxs \
            --disable-ipv6 \
            --with-mysql \
            --enable-dba \
            --with-zlib \
            --with-curl \
            --with-openssl \
            --enable-sqlite-utf8

The output just before configure fails is

checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more
information.



Reproduce code:
---------------
Run the configure command on a CentOS 4.x distro on an AMD64 box

Expected result:
----------------
mysql should be configured correctly
--with-mysqli takes an argument which is the location of mysql_config. On
CentOS 4.1/x86-64, php-5.0.5 configures/compiles correctly if
--with-mysqli is used but fails if --with-mysql is used




-- 
Edit bug report at http://bugs.php.net/?id=34488&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34488&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34488&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34488&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34488&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34488&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34488&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34488&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34488&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34488&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34488&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34488&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34488&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34488&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34488&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34488&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34488&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34488&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34488&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34488&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34488&r=mysqlcfg

Reply via email to