Bug #1747: PHP3 + Apache's 'apxs' has problems compiling on OpenBSD 2.4
| From: | john at betek dot com | Date: | Tue, 20 Jul 1999 01:58:44 +0000 |
| Subject: | Bug #1747: PHP3 + Apache's 'apxs' has problems compiling on OpenBSD 2.4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8760@lists.php.net to get a copy of this message | ||
From: john@betek.com
Operating system: OpenBSD
PHP version: 3.0.11
PHP Bug Type: Compile Failure
Bug description: PHP3 + Apache's 'apxs' has problems compiling on OpenBSD 2.4
{root}[i:/usr/local/src/php-3.0.11]# ./configure --with-apxs=/usr/local/apache/bin/apxs
...
/usr/local/apache/bin/apxs -c -o libphp3.so -I. -I. mod_php3.c libmodphp3-so.a -L/usr/local/lib
pcrelib/libpcre.a -lm -lresolv -Lpcrelib -lpcre
gcc
../apaci -fPIC -DSHARED_MODULE -I/usr/local/apache/include -I. -I. -c mod_php3.c
sh: ../apaci: not found
ld -Bforcearchive -Bshareable -o libphp3.so mod_php3.o libmodphp3-so.a -L/usr/local/lib
pcrelib/libpcre.a -lm -lresolv -Lpcrelib -lpcre
maketables.c:63: Definition of symbol `_pcre_maketables' (multiply defined)
get.c:77: Definition of symbol `_pcre_copy_substring' (multiply defined)
get.c:115: Definition of symbol `_pcre_get_substring_list' (multiply defined)
...
(A lot of '(multiply defined)' errors.)
pcre.c:4134: Definition of symbol `_pcre_exec' (multiply defined)
apxs:Break: Command failed with rc=65536
gmake: *** [libphp3.so] Error 1
This is the last step in the process of getting mySQL + Apache + PHP3 to work and it fails here.
I'm check with the Apache and OpenBSD people as we speak.