Technology Insights

IBM Java SDK Install Error: Failed dependencies: /usr/lib64/libstdc++.so.5 is needed by ibm-java-x86_64-sdk-6.0-9.1.x86_64

While setting up a websphere test server I ran into a minor dependency error during the beginning of installing the necessary packages for websphere. The IBM Java SDK RPM on CentOS 6 was complaining about a failed dependency of a libstdc++ library. The RPM I was attempting to install required libstdc++.so.5 and CentOS 6 has libstdc++.so.6 installed by default. All that is required is to install the libstdc++ compat RPM. The information below describes the error in more detail, how I located the package that installed the necessary file(s), and an example of installing the needed package.

Technology Errors

GNU m4 Error: /usr/bin/m4: unrecognized option –debugfile

The m4 error noted in the title and again below is another error I received quite awhile back with very little detail in the notes. I had mentioned that I resolved the error by uninstalling the x86_64 version of m4 and installing the i386 version. After further investigation I am sure the issue was not related to being 32-bit versus 64-bit but instead related to the m4 version instead. Below I describe note the error and how to resolve the error.

Technology Insights

Install The EPEL Repository On CentOS Linux 5.X, EPEL Repo

Installing the EPEL repository on CentOS Linux is easy to do so the below is simply a reference point if needed by anyone. EPEL stands for Extra Packages for Enterprise Linux and is a community based repository that was created for add-on Fedora Linux packages. There are many cases where installation instructions assume that the EPEL repo is already installed so if you run into an error because of a missing package or dependency package the EPEL repository is a great place to start. Below I have listed the i386(32-bit) and x86_64(64-bit) EPEL repository package list links which will allow you to easily verify that the packages you need are available before installing the EPEL repository. After the EPEL repository package list links there are separate commands listed to install the EPEL repository on 32-bit CentOS Linux 5.X and to install the EPEL repository on 64-bit CentOS Linux 5.X.