Resolving Dependencies

Jos Vos jos at
Thu Jul 14 14:21:33 UTC 2011

On Thu, Jul 14, 2011 at 07:32:41PM +0530, kali c wrote:

> I have my application which I want to build a rpm package. The application
> has some dependencies that has to be installed. It requires few  .so files
> that has to be present in the application running machine. Say for
> e.g The command ldd reveals other dependencies as well. I
> tried giving those dependencies in the SPEC file under the requires field
> as Requires: ....

Normally, RPM will add this dependency automatically.

> Specifically error: Failed dependencies:
> is needed by myApplication-1.0-1.x86_64

You should not install a RPM with "rpm" but with a depsolver, e.g. "yum".
It will find the package providing the library and install it

--    Jos Vos <jos at>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

More information about the Rpm-list mailing list