Re: Specifying dependency to 32 bits packages.

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

 



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
Lukasz

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
http://rpm.org/wiki/PackagerDocs/ArchDependencies

	- Panu -
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux