FedoraPerlBugAndWhatToDoAboutIt
From IcedTea
There is a bug when building IcedTea on a newly-installed Fedora 8 installation that causes the build to fail when a library can't be found.
The symptom looks like this:
... build/linux-i586/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/obj/ioser.o -L/home/aph/icedtea/bootstrap/jdk1.6.0/jre/lib/i386/server -ljvm -L/home/aph/icedtea/bootstrap/jdk1.6.0/jre/lib/i386 -lgcj -L/home/aph/icedtea/bootstrap/jdk1.6.0/jre/lib/i386/server -ljvm -lc /usr/bin/ld: cannot find -ljvm collect2: ld returned 1 exit status make[5]: *** [/home/aph/icedtea/openjdk-ecj/build/linux-i586/corba/lib/i386/libioser12.so] Error 1
This is caused by a bug in Perl, which breaks Anaconda (Fedora's installation program).
To solve this problem, you need to re-install gcj. The easiest way is to download the Fedora 8 gcj RPM and install it with --force:
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/i386/os/Packages/java-1.5.0-gcj-1.5.0.0-17.fc8.i386.rpm rpm -ihv java-1.5.0-gcj-1.5.0.0-17.fc8.i386.rpm --force
(This version of gcj is just an example that worked at the time of writing. Be sure to use the latest gcj RPM.)
This bug is https://bugzilla.redhat.com/show_bug.cgi?id=377341

