Specifying dependency to 32 bits packages.
lukasz at tasz.eu
Sat Aug 18 20:22:59 UTC 2012
finaly I managed to specify depenency,
in rh6 it't reccomended to use only yum, and dependencies
glibc(x86-32) works fine.
unfortunately it does not work for pure rpm installation but this is
now not so important (of course would be great to find common
definition form yum and rpm.)
anyway thanks for help
2012/8/17 Panu Matilainen <pmatilai at laiskiainen.org>:
> 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
>> 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 -
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
More information about the Rpm-list