As we can see , libdb-4.7 got linked with the executable. Then I realized , this is an error related to incorrect linking to different version of BerkeleyDB library on system. This may happen to systems , with multiple BerkeleyDB installed.

[ Solution ]

1. First set up LD_LIBRARY_PATH as bellow , before compiling the BerkeleyDB Program.

The GNU Standard c++ library libstdc++.so.5 is a core library for CentOS system. Most of the operating systems comes with a version of libstdc++ in sync with architecture ( i.e., 32 bit or 64 bit system ) of OS. That is 64 bit OS have 64 bit libstdc++.

However to install various other tools and compiler like intel compiler, on a 64 bit system, we require to have 32 bit compatible version of libstdc++ as well. Otherwise the installation will fail.
To get around this problem, download compat-libstdc++ for your os and install. This will install 32 bit compatible version of libstdc++ on 64 bit system.

Here is another post in [Solved] category . I believe the proposed solution will work on all flavor of Linux system. But I have encountered the “Problem” and found “Solution” on OpenSuse – 12.1.

After installation of OS , I was shocked to see that the Realtek ethernet device is not recognized by OS. I suspected that , probably the required driver is not installed/available with OS. So I followed the below explained steps and hit the solution. You must be logged in into the system with root credential to do this exercise.

Make ifconfig eth0 up.

To know the device name we can see the hardware detail of system OR make eth0 device up by below command.

$ ifconfig eth0 up

Check device name.

open the file with “vi /etc/sysconfig/network/ifcfg-eth0”. In this file device name will be listed as bellow “NAME=’RTL8101E/RTL8102E PCI Express Fast Ethernet controller’ “

Find Driver for Ethernet Controller.

The above step gives me enough clue that, I need to search for driver of Realtek ethernet controller. Which leads me to the below link.

From the error itself , it is clear that the compiler is not able to locate the libXmu.so . I found the related library file in /usr/lib64 folder with different name ( libXmu.so.6.2.0 and libXmu.so.6.2 ).

I made a symbolic link with following command at /usr/lib64 and it seems that solved the issue.

Once you find error while executing any package on a system like “cannot enable executable stack as shared object requires: Permission denied” , it is probably because of SELinux is enforced/enabled on your system.
Solution :
1. Open file /etc/selinux/config
2. change “SELINUX=enforcing” to “SELINUX=disabled”
3. Reboot

if you want to disable SELinux temporarily then just execute bellow command
$ setenforce 0