Bug #1464: Compile Fails - apxs warns that -W is not a valid option.
| From: | danbeck at mtginfo dot com | Date: | Fri, 28 May 1999 12:19:48 +0000 |
| Subject: | Bug #1464: Compile Fails - apxs warns that -W is not a valid option. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6147@lists.php.net to get a copy of this message | ||
From: danbeck@mtginfo.com
Operating system: Linux (RedHat 5.2)
PHP version: 3.0.8
PHP Bug Type: Compile Failure
Bug description: Compile Fails - apxs warns that -W is not a valid option.
When compiling PHP 3.0.8 as an apache shared module using apxs, the compile dies with the following
error:
apxs -c -o libphp3.so -L/usr/local/lib -Wl,'-rpath /usr/lib/mysql'
-L/usr/lib/mysql -lmysqlclient -lz -lgdbm -lgd -lpam -lm -ldl
-lcrypt -lnsl -lresolv mod_php3.c libmodphp3-so.a
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
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net