Description of problem: The main PHP package is dynamically linked to pcre, and indeed has a pcre-devel BuildRequires, but does not have a corresponding Requires:. This means if you install php without pcre installed, running "php" from the command line results in errors. Version-Release number of selected component (if applicable): php-5.0.4-10.5 php-5.0.5-6 (rawhide) appears by visual inspection of the spec to have the same problem How reproducible: Always Steps to Reproduce: 1. yum install php 2. rpm -e --nodeps pcre 3. "php" Actual results: php: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory Expected results: no errors Additional info:
Created attachment 121398 [details] trivial patch
The shared library dependency is picked up automatically as it should be. $ rpm -q --requires php | grep pcre libpcre.so.0
You are, of course, right. My bad, sorry!