rpmbuild with target i386 on x86_64 sets %{_libdir} to lib64.
Bill Nottingham
notting at redhat.com
Thu Sep 21 16:43:27 UTC 2006
Rob Andrews (rob at choralone.org) said:
> Hi,
>
> Since I don't have an i386 installation of Fedora, I am trying to build a
> set of i386 RPMs on my x86_64 machine using:
>
> rpmbuild --target=i386 --rebuild foo.src.rpm
> or
> rpmbuild --target=i386 -bb foo.spec
>
> However, it is expanding %{_libdir} to /usr/lib64.
>
> Am I doing something wrong? I'm tempted to use --define="_libdir /usr/lib"
> for a quick fix, but I was under the impression that building i386 packages
> would have adjusted the path definitions accordingly.
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194123
Bill
More information about the fedora-devel-list
mailing list