More OpenJDK compile notes for Fedora 16
Posted on Saturday Nov 12, 2011 at 05:01AM in Anything
Just to save people from scratching their heads - if you try and compile OpenJDK from vanilla source bundle (not IcedTea) on Fedora 16, you migth see libjvm.so fails to link with a message:
libstdc++ not found
If you look at OpeJDK build readme:
This is caused by a missing libstdc++.a library. This is installed as part of a specific package (e.g. libstdc++.so.devel.386). By default some 64-bit Linux versions (e.g. Fedora) only install the 64-bit version of the libstdc++ package. Various parts of the JDK build require a static link of the C++ runtime libraries to allow for maximum portability of the built images.
DOH! So what you will need on Fedora 16 is libstdc++-static package