Discussion:
rpm fails depedency even when they're met
Isabelle Poueriet
2008-01-07 21:39:16 UTC
Permalink
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!


____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
seth vidal
2008-01-07 21:40:32 UTC
Permalink
Post by Isabelle Poueriet
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.

-sv
Jeff Johnson
2008-01-07 21:56:17 UTC
Permalink
Post by seth vidal
Post by Isabelle Poueriet
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
Mahapatro, Amrita (GTI)
2008-01-07 22:20:03 UTC
Permalink
Hi!

You can try using --nodeps switch while installing the rpm

Regards,
Amrita

-----Original Message-----
From: rpm-list-***@redhat.com
[mailto:rpm-list-***@redhat.com] On Behalf Of Isabelle Poueriet
Sent: Monday, January 07, 2008 4:39 PM
To: rpm-***@redhat.com
Subject: rpm fails depedency even when they're met


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!



_____

Looking for last minute shopping deals? Find them fast with
Yahoo! Search.
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear
ch/category.php?category=shopping>
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------
Isabelle Poueriet
2008-01-08 00:19:15 UTC
Permalink
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 <***@gmail.com>
To: RPM Package Manager <rpm-***@redhat.com>
Sent: Monday, January 7, 2008 2:56:17 PM
Subject: Re: rpm fails depedency even when they're met
Post by Isabelle Poueriet
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


____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Jeff Johnson
2008-01-08 01:01:57 UTC
Permalink
Post by Isabelle Poueriet
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.
Likely 4.4.3 or 4.4.4 abt 2.5 years ago for /etc/rpm/sysinfo.

The soname(...) probe dependency was implemented abt 1.5 years ago,
mebbee 4.4.6.

See the CHANGES file if you want precise versions.

Both are present in rpm-5.0 released Saturday.

73 de Jeff
Stanley, Jon
2008-01-08 01:18:58 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You could use a dummy package and list it in Provides:

________________________________

From: rpm-list-***@redhat.com [mailto:rpm-list-***@redhat.com] On Behalf Of Isabelle Poueriet
Sent: Monday, January 07, 2008 4:39 PM
To: rpm-***@redhat.com
Subject: rpm fails depedency even when they're met


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!



________________________________

Looking for last minute shopping deals? Find them fast with Yahoo! Search. <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>

-----BEGIN PGP SIGNATURE-----
Version: 9.6.3 (Build 3017)

wsFVAwUBR4KeLnJE2wkjIctBAQJNJQ/+O9/nSvvvSVxzBqlxk50p920BFrTlBZZf
62w14lMSs2ortdHJlayjIaKCmnuvp1ZJ6K/bzMZp8ylYyOkgTfJl8mCsz/Fpg6Jm
cc4aSJVhS5E1sORDPWXHzw2fZWXCSH9Wvc4s5nZGa1tkHE3+hkd+2CdbsV1kooUe
UIOTIlFxkDByNZg/QUxdyO68kCCW26eKzt3WkUkIa3FopsCcvSgjugrE/okyl8QF
Y/nKQxusXr2ywtV5Bcb0GldJBHkkBNWwSSWPxyzD/PeyE6CGiz9bWGQLhX8iGq6j
DJSMmG9WS88dk2/g1NE6i+h0HOZmxAzH/gSFE2ml/4Fr55Ie3AYRg75pPZ+viPxC
wkYjm/s7hbBa3AaMhAhTklIUk0kJNMQZLg/zgDGmytJl9uHdvgm+LLqRFOyR4sup
CHKjdP8RFlBxKzum5zBlEMxr0y9bfANLJKXoncR81ADWHNLI1ZlSzY4+8xIdzeJZ
GnhFTbQw+Gc+bxEywbWXYuQnbQxPVEIj7Ogx1+4Q3XRy7qI9zoFwNFBMiGqIC6af
G1mfpHHiaMH1v4wNVtTJfBZfbCA8i8Gx3aSD7HhEXe36I79httAG6BO1z4iEhUeM
uPagehFT4N7cO8UJXThaahvYT39DiujSkDJSNBwMbgL2bq8UoUdDr1RYe1syRcS9
oCmlAfAAPLU=
=0vMn
-----END PGP SIGNATURE-----



This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachment(s) thereto without retaining any copies.
Loading...