JDK 8 Linking error on Fedora 16
David Bosschaert
david.bosschaert at gmail.com
Thu Feb 23 14:55:16 UTC 2012
Hi all,
This is probably a bit of a n00b question. However someone here might
know the answer to this.
When I try to build JDK 8 on Fedora 16 I'm getting the link error below.
The environment variables I have set are:
ALLOW_DOWNLOADS=true
ALT_BOOTDIR=/usr/lib/jvm/java-1.7.0-openjdk
LANG=C
BTW I do have the latest libstdc++ installed:
$ sudo yum install libstdc++
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Package libstdc++-4.6.2-1.fc16.i686 already installed and latest version
Nothing to do
Anyone know how to fix this?
Thanks,
David
Linking vm...
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
ln: accessing `libjvm.so.1': Too many levels of symbolic links
/usr/bin/chcon: failed to get security context of `libjvm.so': Too
many levels of symbolic links
ERROR: Cannot chcon libjvm.so
/usr/bin/objcopy --only-keep-debug libjvm.so libjvm.debuginfo
/usr/bin/objcopy: Warning: could not locate 'libjvm.so'. reason: Too
many levels of symbolic links
make[6]: *** [libjvm.so] Error 1
More information about the build-dev
mailing list