I installed an i386 RPM package onto my x86-64 system today. The new program starts up and runs just fine, but unfortunately yum also installed the i386 version of freetype as a dependency. So now I would like to get the bytecode interpreter enabled on the i386 version of freetype just as I did for the x86-64 version. No problem, I thought, just rebuild from the source with my modified spec file to an i386 target as follows:
rpmbuild -bb --target i386-fedora-linux rpmbuild/SPECS/freetype.spec
Toward the end of the process, I get an ld segmentation fault
collect2: ld terminated with signal 11 [Segmentation fault]
followed by a slew of compatibility errors like this:
/usr/bin/ld: i386 architecture of input file `/home/Jim/rpmbuild/BUILD/freetype-2.3.5/objs/.libs/ftsystem.o' is incompatible with i386:x86-64 output
and finally a make error:
make: *** [/home/Jim/rpmbuild/BUILD/freetype-2.3.5/objs/libfreetype.la] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.48102 (%build)
I'm still pretty new at this. These error messages have me stumped. Is there something simple I have missed?