#30835 [Bgs]: PHP5 won't configure with mysqli support on Intel EM64T
| From: | noethen at daad dot de | Date: | Wed, 01 Dec 2004 16:36:31 +0000 |
| Subject: | #30835 [Bgs]: PHP5 won't configure with mysqli support on Intel EM64T | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69686@lists.php.net to get a copy of this message | ||
ID: 30835
User updated by: noethen at daad dot de
Reported By: noethen at daad dot de
Status: Bogus
Bug Type: Compile Failure
Operating System: SuSE Linux Enterprise Server 9
PHP Version: 5.0.2
New Comment:
I have only one version of mysql_config.
I have /usr/lib64/mysql/ which contains
libheap.a
libmyisam.a
libmysqlclient.la
libmystrings.a
libvio.a
libmerge.a
libmyisammrg.a
libmysqlclient_r.a
libmysys.a
mysqld.sym
libdbug.a
libmygcc.a
libmysqlclient.a
libmysqlclient_r.la
libnisam.a
and I have /usr/lib/mysql which is empty ... probably because I had
meanwhile installed MySQL 4.0 from SLES9 distribution package. But I
have uninstalled that before and reinstalled the 4.1.7 RPM packages
from the MySQL website.
But the output
-L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz
comes from the mysql_config that I just sent to you.
Previous Comments:
------------------------------------------------------------------------
[2004-12-01 17:24:46] georg@php.net
Are you sure? You sent me a mysql_config before, which
shows:
-L/usr/lib64/mysql -lmysqlclient -lcrypt -lnsl -lm -lz
Do you have 2 different versions ?
------------------------------------------------------------------------
[2004-12-01 17:06:35] noethen at daad dot de
Here comes the output of
mysql_config --libs
-L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz
------------------------------------------------------------------------
[2004-12-01 17:00:36] jorton@php.net
And the MySQL-devel package is also installed? What's the output of:
$ mysql_config --libs
------------------------------------------------------------------------
[2004-12-01 10:51:51] noethen at daad dot de
I _am_ using a native x86_64 build of MySQL
(MySQL-server-4.1.7-0.glibc23.x86_64.rpm).
------------------------------------------------------------------------
[2004-11-30 17:32:51] jorton@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
You cannot use 32-bit libraries (e.g. from
MySQL-client-4.1.7-0.i386.rpm) in a 64-bit PHP build.
Either use a native x86_64 build of MySQL (recommended), or try and
build a 32-bit version of PHP (not recommended). The latter can be
done using:
export CC="gcc -m32"
before running configure.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30835
--
Edit this bug report at http://bugs.php.net/?id=30835&edit=1