ID: 34512
Updated by: [EMAIL PROTECTED]
Reported By: dar_tay at hotmail dot com
Status: Feedback
Bug Type: MySQLi related
Operating System: Linux version 2.6.8-2-386
PHP Version: 5CVS-2005-09-15 (snap)
New Comment:
In what OS are you compiling..?
You are using the PHP 5.1 snashot???
Previous Comments:
[2005-09-15 19:36:07] [EMAIL PROTECTED]
Can you try the non-max mysql package instead?
[2005-09-15 17:49:18] dar_tay at hotmail dot com
Tried against mysql4 binary (mysql-max-4.1.14-pc-linux-gnu-i686) and
resulting Makefile sent via email.
[2005-09-15 16:59:45] [EMAIL PROTECTED]
Can you please try with Mysql 4.1.x ? And send me the Makefile you have
when the build fails to [EMAIL PROTECTED]
[2005-09-15 16:57:22] dar_tay at hotmail dot com
Just tried it against the latest mysql5 binary
(mysql-max-5.0.12-beta-linux-i686) and got the same result.
[2005-09-15 15:35:28] dar_tay at hotmail dot com
1) libphp5.a appears in the libs directory alongside the libphp5.la
file
2) I have tried it with both 'make' and 'make install', in this
particular instance I simply used 'make' for both tests, with a 'make
clean' inbetween. First test produces the .so second test doesn't, I
have tried this several times and I have even tried it by extracting
from the .tar file each time
3) mysql shared libs reside in /usr/local/mysql/lib/
4) devel packages? do you mean the headers? in
/usr/local/mysql/include/
5) -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -lnsl -lm -lc
-lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
I've done it without args as well just incase that helps...
# /usr/local/mysql/bin/mysql_config
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/local/mysql/include -mcpu=pentiumpro]
--include[-I/usr/local/mysql/include]
--libs [-L/usr/local/mysql/lib -lmysqlclient -lz
-lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files
-lnss_dns -lresolv]
--libs_r [-L/usr/local/mysql/lib -lmysqlclient_r -lz
-lpthread -lcrypt -lnsl -lm -lpthread -lc -lnss_files -lnss_dns
-lresolv -lc -lnss_files -lnss_dns -lresolv]
--socket [/tmp/mysql.sock]
--port [3306]
--version[5.0.10-beta]
--libmysqld-libs [-L/usr/local/mysql/lib -lmysqld -lpthread
-lcrypt -lnsl -lm -lpthread -lc -lnss_files -lnss_dns -lresolv -lc
-lnss_files -lnss_dns -lresolv -lrt]
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/34512
--
Edit this bug report at http://bugs.php.net/?id=34512edit=1