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

Linux RPM should check for compqt-libstdc++ dependency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.3.1
    • install
    • x86
    • linux



      Name: jk109818 Date: 01/28/2002


      FULL PRODUCT VERSION :
      [root@sobo root]# /usr/java/jdk1.3.1_02/bin/java -version
      java version "1.3.1_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
      Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)


      FULL OPERATING SYSTEM VERSION :RedHat Linux 7.2 i386
      w/latest updates




      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Upgraded from RH 7.1

      A DESCRIPTION OF THE PROBLEM :

      This is a known problem that is documented in the linux installation guide:
      http://java.sun.com/j2se/1.3/install-linux-sdk.html


      The Linux RPM package does not check for the existence of
      the C++ library, even though the RPM mechanism makes this
      possible, so it is possible to install the RPM without the
      prerequesite packages (compqt-libstdc+ in my case)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.Install RH 7.2
      2.Make sure compat-libstdc++ is NOT installed
      3.Install the jdk RPM
      4.Try to run it

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Expexted: rpm complains about a dependency, and does not
      install the jdk

      Result: rpm installs the jdk, but it does not work.

      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Install the compat-libstdc++ rpm package from the distribution
      (Review ID: 138564)
      ======================================================================

            mromanchsunw Michael Romanchuk (Inactive)
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: