Description of Problem: trying to install php gives the error: error: failed dependencies: libcurl.so.1 is needed by php-4.0.6-7 the php RPM should explicitly require curl (e.g., "Requires: curl" in .spec file) so that people aren't left to wonder where libcurl.so.1 is located or what it is (in this case it is fairly clear, but nonetheless...) Version-Release number of selected component (if applicable): php-4.0.6-7.i386.rpm How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information:
In rawhide ftp://rawhide.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/php-4.0.6-13.src.rpm ... BuildPrereq: unixODBC-devel, pspell-devel, curl-devel >= 7.8, bzip2 ... the cur-devel cannot be installed without curl I believe this should be sufficient unless the curl maintbot has done something odd Try that and tell me if I can close this bug please Phil =--=
Those are two different things: BuildPrereq: curl-devel >= 7.8 means that curl-devel needs to be installed on the box where the RPMs are built. This bug is asking that: Requires: curl be added, which would require that the curl RPM be installed on the target box before the php RPM can be installed. The libcurl.so.1 dependency is created automatically by the RPM build process. I don't know if Red Hat has standards for this, but the libcurl.so.1 requirement is sufficient, if the library is all that's required. Lots of other RPMs have the same scenario. I think an explicit "Requires: curl" should only be there if the curl RPM provides something the php RPM needs that the auto-dependency generator doesn't find. My $0.02
I agree. In 99.9% of cases if you have a Build(Pre)?Req of foo-devel, you should Require foo.
Incoming errata candidate in rawhide real soon now,.. check your local listings,.. Phil =--=