php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1873 Apache 1.3.6 can't find -lpcre
Submitted: 1999-07-26 05:29 UTC Modified: 1999-07-26 15:11 UTC
From: achowe at snert dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.11 OS: Redhat 5.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: achowe at snert dot com
New email:
PHP Version: OS:

 

 [1999-07-26 05:29 UTC] achowe at snert dot com
PHP 3.0.11 builds and installs itself, but when I try to configure/build Apache (method 2, not using apxs)
then I get an error about not being able to find -lpcre.  The libpcre.a resides in the php3 directory
but its not found.  I've tried adding LIBS= and LDFLAGS= before the ./configure without any success.

I suspect the makefile template (I presume) installed by php should have setup the correct paths for
finding libraries, but apparently has not.

Reconfiguring and building php3 --without-pcre-regex, is the current workaround.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-26 15:11 UTC] rasmus at cvs dot php dot net
Known problem in 3.0.11.  The --with-shared-apache build mechanism is being deprecated anyway.
Try 3.0.12 when it is released later this week.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC