Re: Bug #1668 Updated: Apxs fails during compilation with rc=16711680

From: Date: Wed, 07 Jul 1999 18:35:53 +0000
Subject: Re: Bug #1668 Updated: Apxs fails during compilation with rc=16711680
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-8173@lists.php.net to get a copy of this message
On Wed, Jul 07, 1999 at 10:09:07AM -0400, Matt Rose wrote: > > here you go. Looks like your APXS is broken. The last command apxs executes is bogus (as you noted before). However, the arguments passed to apxs are correct. -o libphp3.so mod_php3.o libmodphp3-so.a -L/usr/local/lib -ldb pcrelib/libpcre.a -L/usr/lib/mysql -lmysqlclient -lm -ldl -lcrypt -lnsl -lresolv -Lpcrelib -lpcre -rpath /usr/lib/mysql Reinstalling Apache should help. Have a look at apxs, around line 70. It should look like this on a recent Linux installation: my $CFG_TARGET = 'httpd'; # substituted via Makefile.tmpl my $CFG_CC = 'gcc'; # substituted via Makefile.tmpl my $CFG_CFLAGS = ' -DLINUX=2 -DUSE_HSREGEX ../apaci'; # substituted via Makefile.tmpl my $CFG_CFLAGS_SHLIB = '-fpic -DSHARED_MODULE'; # substituted via Makefile.tmpl my $CFG_LD_SHLIB = 'ld'; # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = '-Bshareable'; # substituted via Makefile.tmpl my $CFG_LIBS_SHLIB = ''; # substituted via Makefile.tmpl -- Regards, Sascha Schumann Consultant

« previous php.dev (#8173) next »