Bug #1668 Updated: Apxs fails during compilation with rc=16711680
| From: | Bug Database | Date: | Wed, 07 Jul 1999 21:52:33 +0000 |
| Subject: | Bug #1668 Updated: Apxs fails during compilation with rc=16711680 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8186@lists.php.net to get a copy of this message | ||
ID: 1668
Updated by: sas
Reported By: mattrose@folkwolf.net
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
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. From the above output it looks
like CFG_LD_SHLIB and CFG_LDFLAGS_SHLIB are not set.
my $CFG_LD_SHLIB = 'ld'; # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = '-Bshareable'; # substituted via Makefile.tmpl
Full Bug description available at: http://bugs.php.net/?id=1668