Specifying dependency to 32 bits packages.
pmatilai at laiskiainen.org
Fri Aug 17 15:53:57 UTC 2012
On 08/17/2012 12:07 PM, Łukasz Tasz wrote:
> Hi all,
> I have small but quite important question,
> I my rpm spec I'm specifying dependencies to other packages.
> Unfortunately... on 86_64 RH6.2 machine I need dependency to 32 bit packages.
> That's why I added entry:
> Requires: glibc.i686
> but this unfortunately make rpm failing with error:
> error: Failed dependencies:
> glibc.i686 is needed by your_package
> Could you advice me what I'm dooing wrong?
> thanks in advance
Architecture is not usable in dependencies as such. What works with all
rpm versions is requiring an arch-specific path (eg /lib/libc.so.6 for
32bit vs /lib64/libc.so.6 for 64bit glibc). For an alternative with
non-ancient rpm versions (such as on RHEL-6) see
- Panu -
More information about the Rpm-list