|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-09-15 15:15 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 11:00:01 2025 UTC |
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]