rpmbuild with target i386 on x86_64 sets %{_libdir} to lib64.
Ian Kent
raven at themaw.net
Sat Oct 7 13:03:38 UTC 2006
On Tue, 2006-10-03 at 09:42 +0100, Rob Andrews wrote:
> On 03-Oct-2006 04:01.59 (BST), Ian Kent wrote:
> > > > What happens at the moment when you try to use --target then?
> > > Well, using --target i386 on an x86_64 installation, it managed to build
> > > i386 binaries (using g++ -m32). But obviously, the library path was wrong.
> > And the link fails for me telling me the input object is 32 bit but it's
> > trying to make a 64 bit image.
>
> That's quite possibly because you have a 32-bit library installed and not
> the 64-bit library, so when ld runs it only finds the 32-bit library and
> fails noisily.
That's probably the other way around, yes.
Ian
More information about the fedora-devel-list
mailing list