Bug 173996 - php is missing a Requires: pcre (requirement prereq)
Summary: php is missing a Requires: pcre (requirement prereq)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-23 15:00 UTC by Tim Jackson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-23 15:02:05 UTC
Type: ---
Embargoed:


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

Description Tim Jackson 2005-11-23 15:00:00 UTC
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:

Comment 1 Tim Jackson 2005-11-23 15:00:01 UTC
Created attachment 121398 [details]
trivial patch

Comment 2 Joe Orton 2005-11-23 15:02:05 UTC
The shared library dependency is picked up automatically as it should be.

$ rpm -q --requires php | grep pcre
libpcre.so.0


Comment 3 Tim Jackson 2005-11-23 15:12:27 UTC
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.