Re: Re: Bug #2694 Updated: can't compile apache shared module

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Re: Bug #2694 Updated: can't compile apache shared module
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-12916@lists.php.net to get a copy of this message
> On 10 November 1999 at 20:45, Bug Database <php-dev@lists.php.net> wrote: > > ID: 2694 > > Updated by: sas > > Reported By: ga244@is8.nyu.edu > > Status: Closed > > Bug Type: Installation problem > > Assigned To: > > Comments: > > > > Don't use --with-shared-apache. Please read on in INSTALL.DSO and use APXS instead. > > > > Full Bug description available at: > > http://bugs.php.net/?id=2694 > > > > Thank you for your reply. > I tried apxs. make broke mith this : > > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -I/usr/include/apache -I. -I. -c > ./mod_php3.c > -o libphp3.so ./mod_php3.o libmodphp3-so.a -L/usr/local/lib -lgd -L/usr/local/lib -lttf > -L/usr/local/mysql/lib/mysql -lmysqlclient -lgdbm pcrelib/libpcre.a -lgd -lpam -lm -ldl -lcrypt > -lnsl -lresolv -Lpcrelib -lpcre -rpath /usr/local/lib -rpath /usr/local/mysql/lib/mysql > apxs:Break: Command failed with rc=16711680 > make: *** [libphp3.so] Error 1 Make sure you built Apache with mod_so enabled and that the top of your apxs script contains at least these entries: my $CFG_CFLAGS_SHLIB = '-fpic -DSHARED_MODULE'; # substituted via Makefile.tmpl my $CFG_LD_SHLIB = 'gcc'; # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = '-shared'; # substituted via Makefile.tmpl -Rasmus

« previous php.dev (#12916) next »