Stupid (?) lib64 questions

David Woodhouse dwmw2 at infradead.org
Tue Dec 6 13:22:42 UTC 2005


On Tue, 2005-12-06 at 08:05 -0500, Paul W. Frields wrote:
> Is it to be expected that FE stuff will sometimes end up with
> %{_libdir} evaluating to /usr/lib64 on build machines?  Clues
> delivered gently would be helpful.

There is an RPM bug which causes this kind of behaviour --
if /etc/rpm/platform specifies a 64-bit platform, then %{_libdir} is set
to /usr/lib64 even when building for a 32-bit target.

A workaround is to edit /etc/rpm/platform before building 32-bit
packages on a 64-bit machine. And then remember to put it back again
before running 'yum update' on that machine :)

-- 
dwmw2





More information about the fedora-devel-list mailing list