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

Re: rpm fails depedency even when they're met



Thanks  Jeff,
 
in which version of rpm is this feature (/etc/rpm/sysinfo/Providename) supported? I've tried it on rpm 4.3 and 4.4 and it doesnt' seem to work.
 
thanks.
p.s. I don't want to use --nodeps ;-(
----- Original Message ----
From: Jeff Johnson <n3npq jbj gmail com>
To: RPM Package Manager <rpm-list redhat com>
Sent: Monday, January 7, 2008 2:56:17 PM
Subject: Re: rpm fails depedency even when they're met



On Jan 7, 2008 4:40 PM, seth vidal <skvidal fedoraproject org> wrote:

On Mon, 2008-01-07 at 13:39 -0800, Isabelle Poueriet wrote:
> Hello!
>
> 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?
>
> Thanks much in advance!
>
>

have the package installed by rpm. rpm doesn't look at the local
filesystem for what is or is not there. It only looks at the rpm
database. If the file isn't installed by rpm then rpm won't be able to
know about it.

Actually rpm-5.0 has 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 as well, including
    mkdir -p /etc/rpm/sysinfo
    echo "Y.so.s1" >> /etc/rpm/sysinfo/Providename

hth

73 de Jeff

73 de Jeff 



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]