JDK-4629486 : Linux RPM should check for compqt-libstdc++ dependency
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 1.3.1
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2002-01-28
  • Updated: 2004-06-29
  • Resolved: 2004-06-29
Related Reports
Relates :  
Relates :  
Relates :  
Description

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) 
======================================================================

Comments
EVALUATION This bug is not in Tiger, and hasn't been a problem since 1.4.1_03. The cause of this bug is very convoluted. The best reason for the cause, and how it was fixed is given by ###@###.### in the 4694590 bug report. ###@###.### 2004-06-28
30-06-2004