Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4694590

libstdc++ version requirement: Newer version of gcc supplies libstdc++.so.4.0.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0, 1.4.1
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      [N O T E : T H I S I S N O T A D U P L I C A T E O F 4 6 8 7 8 1 4]
      [ PLEASE SEE NOTES IN EVALUATION ]

      Name: gm110360 Date: 05/30/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      I got this output by running java on a linux box that has gcc2.96.3, not 3.1.


      Kondara MNU/Linux 2.1 with some CVS updates.
      Kernel: Linux 2.4.18
      glibc: 2.2.5
      gcc: *3.1* (provides libstdc++.so.4.0.0)




      A DESCRIPTION OF THE PROBLEM :
      Java2 SDK 1.4 does not run at all on some Linux box that only has newer libstdc++.
      Newer version of gcc supplies libstdc++.so.4.0.0, and is not compatible with
      older ones.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install gcc 3.0 or higher.
      2. Install Java2 SDK 1.4.
         RPM complains about failed dependencies:
         libstdc++-libc6.1-1.so.2 is needed by...
      3. Install Java2 SDK 1.4 with ignoring dependencies.
         (Using --nodeps) Of course this would not help at all.
      4. run java -version. Then it complains:
         failed ../jre/lib/i386/client/libjvm.so. because libstdc++-libc6.1-1.so.2:
      cannot open shared object file: No such file or directory.


      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Copy older libstdc++.so by hand from older gcc package.
      (Review ID: 147011)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hhuangsunw Hui Huang (Inactive)
                Reporter:
                gmanwanisunw Girish Manwani (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: