JDK 8 Linking error on Fedora 16
david.bosschaert at gmail.com
Fri Feb 24 05:12:12 PST 2012
On 23 February 2012 19:31, David Bosschaert <david.bosschaert at gmail.com> wrote:
> On 23 February 2012 16:26, Andrew Haley <aph at redhat.com> wrote:
>> On 02/23/2012 04:23 PM, David Bosschaert wrote:
>>> Could it be related to this message?
>>> Linking vm...
>>> /usr/bin/ld: cannot find -lstdc++
>>> collect2: ld returned 1 exit status
>>> which is a bit odd given that I have the latest libstdc++ installed...
>> Yes, that's it. The problem is probably that it's trying to link
>> statically with libstdc++ and you have no static version of that
> Turns out that I had to install the static version separately, the
> following did the trick:
> yum install libstdc++-static
> Thanks Andrew for this!
I've documented all the steps to build OpenJDK 8 on Fedora 16 here:
Feel free to include this in the build page
whenever that gets brought to life.
More information about the build-dev