Re: [PHP4BETA] APXS error
| From: | Bryan Surles | Date: | Mon, 25 Oct 1999 20:18:26 +0000 |
| Subject: | Re: [PHP4BETA] APXS error | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5694@lists.php.net to get a copy of this message | ||
Andreas Bienert wrote:
> /usr/sbin/apxs -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/incl
> ude
> 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: *** [libphp4.so] Error 1
>
> *********************+
>
> I found this line in the Makefile:
>
> $(APXS) $(INCLUDE) -c -o libphp4.so -Wl,'-rpath /usr/local/mysql/lib/m$
>
> That option -W really doesn't exist...
Check out the man pages for the Apache apxs command. The -Wl,<linker_flag>
option is documented to be option to use to pass arguments to the linker. I'm
using Apache v1.3.6 on Solaris. The APXS string you sent in the email looks
wrong (no closing quote character and the single $ character are strange), and
the makefile output is incomplete as well. So I cannot help you more then that.
Good Luck!
-B