From owner-freebsd-questions@FreeBSD.ORG Sat May 16 11:33:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CE561065687 for ; Sat, 16 May 2009 11:33:13 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D841B8FC0A for ; Sat, 16 May 2009 11:33:12 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M5I8b-0001WR-5M for freebsd-questions@freebsd.org; Sat, 16 May 2009 11:33:09 +0000 Received: from pool-70-21-28-236.res.east.verizon.net ([70.21.28.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 May 2009 11:33:09 +0000 Received: from nightrecon by pool-70-21-28-236.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 May 2009 11:33:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 16 May 2009 07:34:31 -0400 Lines: 41 Message-ID: References: <4A0C27A1.2020108@fxclub.org> <4A0D292D.4030508@fxclub.org> <200905161158.18317.mel.flynn+fbsd.questions@mailing.thruhere.net> <200905161015.n4GAFbsF016555@asarian-host.net> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-28-236.res.east.verizon.net User-Agent: KNode/0.99.01 Sender: news Subject: RE: php5 pcre X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 11:33:13 -0000 Mark wrote: > -----Original Message----- > From: Mel Flynn [mailto:mel.flynn+fbsd.questions@mailing.thruhere.net] > Sent: zaterdag 16 mei 2009 11:59 > To: freebsd-questions@freebsd.org > Cc: Mark > Subject: Re: php5 pcre > > >> I thought I was the only one this had happened to. :) In my case I >> resolved it by going into the pcre directory itself and build it >> from there. > >> That don't make sense. Any chance you had BUNDLED_PCRE selected and > decided >> to untick it in the config dialog? If this really is all you did, then >> maybe extension ordering is the culprit. Move pcre.so in extension.ini > upwards >> and see if the bug resurfaces. > > No, I didn't untick anything. I saw the 'undefined symbol' in my Apache > log, and decided to recompile pcre.so. Then the error went away. I had > this happen, 2 years or so ago, with mysql extension for PHP4, too: the > second time compiling it the (other types of errors) disappeared. That's > actually not all that strange, really, because it's entirely plausible > that sometimes, compiling an extension the first time, it is dependent on > something that wasn't built yet the first around. > This kind of thing may happen when ports get reorganized. Used to be PCRE was either built in or you could build it against the other pcre library. Sometime recently it was split out into it's own extension port. I've had portupgrade barf a time or two when these reorganizations have happened in the past. Manual intervention/rebuild was needed to fix things up. -Mike