RPM not picking up dependency

Tim Mooney Tim.Mooney at ndsu.edu
Tue Apr 23 20:48:45 UTC 2013


In regard to: Re: RPM not picking up dependency, Alice Wonder said (at...:

> On Sun, 2013-04-21 at 19:49 -0700, Alice Wonder wrote:
> *snip*
>>
>> error: Failed dependencies:
>> 	libgcc_s.so.1()(64bit) is needed by libstdc++-4.7.2-0.yjl7.3.7.x86_64
>> 	libgcc_s.so.1(GCC_3.0)(64bit) is needed by libstdc
>> ++-4.7.2-0.yjl7.3.7.x86_64
>>
>> libgcc_so.so.1 is there and RPM installed it, but for whatever reason I
>> can't figure out, RPM is not aware that it provides those dependencies.
>
> just got to libcap2 in the bootstrap process and it is doing the same
> thing, library installs but for whatever reason RPM is not picking up
> what it provides.

Find a package that links against libcap2, and after the package is built,
run

 	rpm -q --requires -p /path/to/package-file.rpm

Then run

 	rpm -q --provides libcap2

(assuming that's the actual package name).

Post the output of both here.

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


More information about the Rpm-list mailing list