Re: RPM Dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 27, 2005 at 04:11:06PM -0600, Browder, Tom wrote:

> How does one satisfy dependencies for libraries, etc., that are not in
> the rpm database?

Dependency resolvers like up2date, yum or apt-rpm using their package
repository database for resolving non-installed dependencies.

> error: Failed dependencies:
> 	libblah.so.0 is needed by foo-12-1
> 
> And libblah.so.0 was not added by an rpm package.

If it exists on your system but is not in an rpm, you have to install
your package with --nodeps.

> I've ensured that ldconfig has it in its cache, and it's on the
> LD_LIBRARY_PATH list.  Si I assume that rpm is using the rpm database.

Yes, it is.

> Is there a way to update the rpm database manually?

The rpm database is to administer installed rpm's.  If you want your
libblah.so.0 to be in there, make sure it is installed as an rpm.

You could build a stub rpm package containing "Provides: libblah.so.0"
etc., but this is pretty dirty...

> P.S.  I also notice that the install portion of the rpmbuild process
> doesn't use the rpm database.  Is that correct? Or is the problem one of
> dependency?  I see no errors during the rpmbuild process.

This is correct.

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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux