php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1747 PHP3 + Apache's 'apxs' has problems compiling on OpenBSD 2.4
Submitted: 1999-07-20 03:58 UTC Modified: 1999-07-25 12:24 UTC
From: john at betek dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.11 OS: OpenBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: john at betek dot com
New email:
PHP Version: OS:

 

 [1999-07-20 03:58 UTC] john at betek dot com
{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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-22 09:24 UTC] sas at cvs dot php dot net
Please try the recipe I've given in http://bugs.php.net/?id=1763

Let us know whether it helps in your case.
 [1999-07-25 12:24 UTC] rasmus at cvs dot php dot net
Please test your apxs build with Apache-1.3.7 and PHP 3.0.12 when they are both released.  If you still have problems, send us another bug report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 13:00:02 2026 UTC