[Fedora-xen] Re: rpmbuild environment issues for xen guest?

Paul Wouters paul at xelerance.com
Tue Sep 26 15:12:15 UTC 2006


On Tue, 26 Sep 2006, Joe Orton wrote:

> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208059
>
> This report has an x86_64 Xen guest where _libdir is expanding to
> /usr/lib; perhaps /etc/rpm/platform needs to be set up by the Xen
> guest-creating scripts?  Is this a known issue?
>
> Paul, if you do:
>
> echo x86_64-redhat-linux > /etc/rpm/platform
>
> does that fix the problem?

Hmm.

# more /etc/rpm/platform
ia32e-redhat-linux

# echo x86_64-redhat-linux > /etc/rpm/platform

# rpmbuild -bb /usr/src/redhat/SPECS/mod_auth_radius.spec

[...]

+ install -p .libs/mod_auth_radius-2.0.so /var/tmp/mod_auth_radius-1.5.7-1-root-root//usr/lib64/httpd/modules/

It did! Thank you!

I do notice that the xen0 has ia32e-redhat-linux as well, though it did not
seem to suffer from this problem when building rpms - it used /usr/lib64 fine.

Can you tell me more about this?

Paul




More information about the Fedora-xen mailing list