OpenJDK 7u and Fedora 17 (original) (raw)
Henri Gomez henri.gomez at gmail.com
Wed Aug 29 03:28:54 PDT 2012
- Previous message: OpenJDK 7u and Fedora 17
- Next message: OpenJDK 7u and Fedora 17
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
there is no libstdc++-static-devel available on Fedora 17.
yum search libstdc++
N/S Matched: libstdc++
compat-libstdc++-296.i686 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i686 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries libstdc++.i686 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libstdc++-devel.i686 : Header files and libraries for C++ development libstdc++-devel.x86_64 : Header files and libraries for C++ development libstdc++-docs.x86_64 : Documentation for the GNU standard C++ library libstdc++-static.i686 : Static libraries for the GNU standard C++ library libstdc++-static.x86_64 : Static libraries for the GNU standard C++ library
I'll try with libstdc++-static
Stay tuned
2012/8/29 Anthony Petrov <anthony.petrov at oracle.com>:
Make sure you have the static version of stdc++ installed. E.g. on my Mandriva I've got the following packages installed:
$ rpm -qa | grep stdc libstdc++-static-devel-4.4.3-2mnb2 libstdc++6-4.4.3-2mnb2 libstdc++-devel-4.4.3-2mnb2 libstdc++5-3.3.6-4mdv2009.0 It is the "static-devel" package that is required by OpenJDK. -- best regards, Anthony
On 8/29/2012 2:02 PM, Henri Gomez wrote:
Hi to all, I built OpenJDK 7 on various Linux distros (CentOS 5/6, openSUSE 12.1) but I'm stuck with Fedora 17 (64bits and up to date): --- symbolTable.o synchronizer.o systemDictionary.o task.o taskqueue.o templateInterpreter.o templateInterpreterx8664.o templateTable.o templateTablex8664.o tenuredGeneration.o thread.o threadCriticallinux.o threadLSlinuxx86.o threadLocalAllocBuffer.o threadLocalStorage.o threadService.o threadlinuxx86.o timer.o type.o typeArrayKlass.o typeArrayKlassKlass.o typeArrayOop.o unhandledOops.o universe.o unsafe.o utf8.o vectornode.o vectset.o verificationType.o verifier.o vframe.o vframeArray.o vframehp.o virtualspace.o vmCMSOperations.o vmError.o vmErrorlinux.o vmGCOperations.o vmPSOperations.o vmStructs.o vmSymbols.o vmThread.o vmoperations.o vmoperationsg1.o vmversion.o vmversionlinuxx86.o vmversionx86.o vmreg.o vmregx86.o vtableStubs.o vtableStubsx8664.o workgroup.o xmlstream.o yieldingWorkgroup.o _-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -ldl -lpthread; _ __ rm -f libjvm.so.1; ln -s libjvm.so libjvm.so.1; __ [ -f libjvm.so ] || { ln -s libjvm.so libjvm.so; ln -s libjvm.so.1 _libjvm.so.1; }; _ _if [ "" = "" ] ; then _ _if [ -x /usr/sbin/selinuxenabled ] ; then _ _/usr/sbin/selinuxenabled; _ _if [ $? = 0 ] ; then _ _/usr/bin/chcon -t textrelshlibt libjvm.so; _ _if [ $? != 0 ]; then _ _echo "ERROR: Cannot chcon libjvm.so"; _ _fi _ _fi _ _fi _ _fi _ } Linking vm... /bin/ld: cannot find -lstdc++ collect2: error: 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 Of course stdc++ is installed : libstdc++-4.7.0-5.fc17.x8664 libstdc++-devel-4.7.0-5.fc17.x8664 and gcc/g++ gcc-4.7.0-5.fc17.x8664 libgcc-4.7.0-5.fc17.x8664 gcc-c++-4.7.0-5.fc17.x8664 Any ideas why such error ? Thanks
- Previous message: OpenJDK 7u and Fedora 17
- Next message: OpenJDK 7u and Fedora 17
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]