Bug 173996 - php is missing a Requires: pcre (requirement prereq)
php is missing a Requires: pcre (requirement prereq)
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-11-23 10:00 EST by Tim Jackson
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-23 10:02:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
trivial patch (492 bytes, patch)
2005-11-23 10:00 EST, Tim Jackson
no flags Details | Diff

  None (edit)
Description Tim Jackson 2005-11-23 10:00:00 EST
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.5-6 (rawhide) appears by visual inspection of the spec to have the same

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:
Comment 1 Tim Jackson 2005-11-23 10:00:01 EST
Created attachment 121398 [details]
trivial patch
Comment 2 Joe Orton 2005-11-23 10:02:05 EST
The shared library dependency is picked up automatically as it should be.

$ rpm -q --requires php | grep pcre
Comment 3 Tim Jackson 2005-11-23 10:12:27 EST
You are, of course, right.  My bad, sorry!

Note You need to log in before you can comment on or make changes to this bug.