RPM

Mixing packaging object with and without RPM

Asked by devzero2000

This a common question so i put below the questions.

Q:

I try to install package X that depends on shared lib Y.so.s1. Y.so.1 is on /usr/lib/ and it is supplied by a non-rpm package.

What can I do so that rpm does not fail depedency of Y.so.1 for Package X?

Question information

Language:
English Edit question
Status:
Solved
For:
RPM Edit question
Assignee:
devzero2000 Edit question
Solved by:
devzero2000
Solved:
Last query:
Last reply:
Whiteboard:
A: Actually rpm5 a runtime probe dependency to solve exactly this type of problem of mixing package and unpackaged libraries: Requires: soname(/path/to/library) = Y.so.s1 if you want a solution in packaging. There are several other means to supply sonames-not-from-packages to rpmlib with rpm5 as well, including executing mkdir -p /etc/rpm/sysinfo && echo "Y.so.s1" >> /etc/rpm/sysinfo/Providename
Revision history for this message
devzero2000 (pinto-elia) said :
#1

For more information on the /etc/rpm/sysinfo directory please see the document "per_transaction_dependecies" that ship
with rpm5.