Re: rpmbuild with target i386 on x86_64 sets %{_libdir} to lib64.

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

 



On Thu, Sep 21, 2006 at 03:53:53PM +0100, Rob Andrews wrote:

> 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.

Despite the technical issues with %_libdir, I think building i386
on x86_64 is doomed to fail at some point anyway, due to configure
scripts finding the wrong libraries, etc.

For simple packages it might work, but for more complex things I
wouldn't bet on it...

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux