|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-09-06 23:54 UTC] rasmus at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 21:00:01 2026 UTC |
I am compiling shared module and I get some strange error as included below, this is the configure script I ran: ./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc --with-mysql=/usr/local/mysql It does compile without the --with-mysql directive just fine, however I need support for MySQL. It appears to not like the -W option in the apxs command as below. thanks. /usr/sbin/apxs -c -o libphp3.so -I. -I. -Wl,'-rpath /usr/local/mysql/lib/mysql' ./mod_php3.c libmodphp3-so.a -L/usr/local/lib -L/usr/local/mysql/lib/mysql -lmysqlclient -lgdbm pcrelib/libpcre.a -lpam -lm -ldl -lcrypt -lnsl -lresolv -Lpcrelib -lpcre apxs:Error: Unknown option: W Usage: apxs -g -n <modname> apxs -q <query> ... apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>] [-L <libdir>] [-l <libname>] <files> ... apxs -i [-a] [-n <modname>] <dsofile> ... make: *** [libphp3.so] Error 1 [root php-3.0.12]#