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

Rob Andrews rob at choralone.org
Tue Oct 3 08:42:36 UTC 2006


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.

-- 
rob andrews                       :: pgp 0x01e00563 :: rob at choralone.org




More information about the fedora-devel-list mailing list