Re: Bug #2694 Updated: can't compile apache shared module
| From: | Gabriel Ash | Date: | Mon, 22 Nov 1999 00:09:05 +0000 |
| Subject: | Re: Bug #2694 Updated: can't compile apache shared module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12892@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
PS. I managed to link a working module manually (ld ...).
But only by linking against a non threaded static mysql.
I have php up and working, but I would really
appreciate if I could understand why it doesn't compile automatically.
Thanks again,
Gabriel Ash