Edit report at https://bugs.php.net/bug.php?id=60986&edit=1
ID: 60986
Comment by: pierre at archlinux dot de
Reported by: j0inty at stollfuss dot net
Summary: pcre_get_compiled_regex_cache: php_pcre.c: undefined
reference to 'pcre_info'
Status: Open
Type: Bug
Package: PCRE related
Operating System: Linux
PHP Version: 5.4.0RC7
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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