Bug #60986 [Opn->Ctl]: pcre_get_compiled_regex_cache: php_pcre.c: undefined reference to 'pcre_info'

From: Date: Mon, 06 Feb 2012 16:42:02 +0000
Subject: Bug #60986 [Opn->Ctl]: pcre_get_compiled_regex_cache: php_pcre.c: undefined reference to 'pcre_info'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-167218@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60986&edit=1

 ID:                 60986
 Updated by:         rasmus@php.net
 Reported by:        j0inty at stollfuss dot net
 Summary:            pcre_get_compiled_regex_cache: php_pcre.c: undefined
                     reference to 'pcre_info'
-Status:             Open
+Status:             Critical
 Type:               Bug
 Package:            PCRE related
 Operating System:   Linux
 PHP Version:        5.4.0RC7
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-02-06 13:04:36] pierre at archlinux dot de

This also affects the 5.3 branch. The problem is the use of the pcre_info function which was
deprecated and repalced by pcre_fullinfo 12 years ago. This function was now removed with pcre 8.30.

I only found one real use of it and some exports; I have attached a patch that might work. Note the
I have no idea about php internals; so this might be entirely stupid or dangerous.

Also note that you might not be able to compile the apache module as apache itself seems also to be
incompatible with pcre 8.30

Greetings,

Pierre

------------------------------------------------------------------------
[2012-02-06 10:06:44] j0inty at stollfuss dot net

Description:
------------
Hi,

If you try to compile the current RC7 of php 5.4.0 the Linker crash with the following message.

ext/pcre/php_pcre.o: In function `pcre_get_compiled_regex_cache':
php_pcre.c:(.text+0xb8f): undefined reference to `pcre_info'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1

The reason is the new libpcre-8.30 which was today in my update list.

dev-libs/libpcre-8.30-r2

You can find a full build.log posted on http://paste.pocoo.org/show/546652/ .

regards
j0inty



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60986&edit=1


Thread (5 messages)

« previous php.bugs (#167218) next »