Incorrect C++ compatibility pack warning during installation of ColdFusion MX 7.0.1 on Red Hat Linux 4
Issue
When installing ColdFusion MX 7.0.1 on Red Hat Enterprise Linux 4, the installation script may incorrectly report a warning regarding the C++ compatibility pack, as shown below:
Pre-Installation Check ---------------------- The installer has found the following errors/warnings: Warning: C++ compatibility pack The installer was unable to determine if the C++ compatibility pack is installed by running the following command: rpm --query compat-libstdc++. If this machine uses a version of glibc that is 2.2.5.x or higher the compatibility pack is necessary for C++ custom tags, Verity, and web server connectors to work properly.
Reason
With support for Red Hat Enterprise Linux 4, introduced in ColdFusion MX 7.0.1, a C++ compatibility pack warning may be erroneously presented during ColdFusion installation. The ColdFusion MX installation script uses the command rpm --query compat-libstdc++ to determine if the C++ compatibility pack is installed on the system. The actual RPM package name is not compat-libstdc++, so the rpm command does not return a successful result and the ColdFusion installation script produces a warning.
Solution
This warning can be ignored during installation, but if you plan to use Verity or C++ based custom CFX tags, then you should interrogate your system for compat-libstdc++ and glibc packages and install them if necessary.
To more accurately determine the status of a C++ compatibility pack on the system, you should either query all packages and use the grep command as a filter or query the exact package name. For example, the command rpm -qa | grep compat-libstdc++ queries all packages and filters or greps on the string compat-libstdc++. On a RHEL4 system, this command might produce two results,compat-libstdc++-33-3.2.3-47.3 andcompat-libstdc++-296-2.96-132.7.2.
Example:
[root@RHEL4DEV1 ~]# rpm -qa | grep compat-libstdc++ compat-libstdc++-33-3.2.3-47.3 compat-libstdc++-296-2.96-132.7.2 [root@RHEL4DEV1 ~]# rpm -q compat-libstdc++-33 compat-libstdc++-33-3.2.3-47.3 [root@RHEL4DEV1 ~]# rpm -q compat-libstdc++-296 compat-libstdc++-296-2.96-132.7.2
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
