php5 pcre

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Sat May 16 09:58:23 UTC 2009


On Friday 15 May 2009 11:13:41 Mark wrote:
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Gorbatovsky
> Dmitry Sent: vrijdag 15 mei 2009 11:04
> To: freebsd-questions at freebsd.org
> Subject: Re: php5 pcre
>
> > When I run make config I see selected PCRE and SPL extensions and
> > other default the extensions. But I rebuilding all modules,
> > restarting apache and see same error:
> >
> > [15-May-2009 12:38:00] PHP Warning:  PHP Startup: Unable to load dynamic
> > library '/usr/local/lib/php/20060613/pcre.so' -
> > /usr/local/lib/php/20060613/pcre.so:
> > Undefined symbol "php_pcre_free" in Unknown on line 0
>
> 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.
-- 
Mel


More information about the freebsd-questions mailing list