php 5.2
Elan Ruusamäe
glen at delfi.ee
Thu Nov 2 23:40:03 CET 2006
hi
in php 5.2 pcre extension needs to be compiled statically as libphp_common.so
uses symbols from it.
./.libs/libphp_common.so: undefined reference to
`pcre_get_compiled_regex_cache'
./.libs/libphp_common.so: undefined reference to `php_pcre_replace_impl'
./.libs/libphp_common.so: undefined reference to `pcre_get_compiled_regex'
./.libs/libphp_common.so: undefined reference to `php_pcre_split_impl'
./.libs/libphp_common.so: undefined reference to `php_pcre_match_impl'
collect2: ld returned 1 exit status
but adding Provides: %{name}-pcre = %{epoch}:%{version}-%{release} will not
make poldek happy, and upgrade will break.
error: php-common = 4:5.1.6-1 is required by php-pcre-5.1.6-1
error: php-common = 4:5.1.6-1 is required by php-pcre-5.1.6-1
$ rpm -qp ../RPMS/php-common-5.2.0-0.1.i686.rpm --provides|grep pcre
php-pcre = 4:5.2.0-0.1
probably php-common should obsolete php-pcre? like:
Obsoletes: php-pcre < 4:5.2.0
but how to do that so that it won't obsolete php4-pcre which has:
$ q php4-pcre --provides
php-pcre = 3:4.4.4-5
bump epoch+=2 so that php4 has epoch=5 and php5 has epoch=6?
--
glen
More information about the pld-devel-en
mailing list