ID: 34512 User updated by: dar_tay at hotmail dot com Reported By: dar_tay at hotmail dot com -Status: Feedback +Status: Open Bug Type: MySQLi related Operating System: Linux version 2.6.8-2-386 PHP Version: 5CVS-2005-09-15 (snap) New Comment:
Tried against mysql4 binary (mysql-max-4.1.14-pc-linux-gnu-i686) and resulting Makefile sent via email. Previous Comments: ------------------------------------------------------------------------ [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] ------------------------------------------------------------------------ [2005-09-15 15:26:05] [EMAIL PROTECTED] 1) Where do you get the libphp5.a? 2) Did you do 'make install' ? 3) Do you have the mysql shared libs installed? 4) And the devel packages? 5) What does this output: # /usr/local/mysql/bin/mysql_config --libs ------------------------------------------------------------------------ [2005-09-15 15:15:43] dar_tay at hotmail dot com Description: ------------ If configure with this everything is fine, I get a libphp5.so file ./configure \ --disable-all \ --with-apxs2=/usr/bin/apxs2 \ whereas, if I do this... ./configure \ --disable-all \ --with-apxs2=/usr/bin/apxs2 \ --with-mysqli=/usr/local/mysql/bin/mysql_config \ I don't get a libphp5.so file. I get no warnings at the linking stage, everything seems to have worked, but I get a libphp.a instead. mysql is the binary install from the mysql site (mysql-max-5.0.10-beta-linux-i686) Apache is 2.0.54-5 .deb package I am using the CVS snap from this morning. Expected result: ---------------- a libphp5.so file ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34512&edit=1