When user tries to install eHealth 6.3.2.07/6.3.2.08 on Red Hat Enterprise Linux 6.5, user may encounter the following error:
ls: cannot access libclntsh.so: No such file or directory
basename: missing operand
Try `basename --help' for more information.
expr: syntax error
FATAL ERROR: /opt/application/ehealth/client11/lib/ file or directory does not exist.
However, searching for the file libclntsh.so, this file exists in: /opt/application/oracle11/lib
eHealth 6.3.2.07
eHealth 6.3.2.08
Red Hat Enterprise 6.5
There are some required packages missing and not checked by nhCheckInstallPreReqs.
gcc (x86_64)
gcc-c++ (x86_64)
compat-libcap1 (x86_64)
glibc-common (x86_64)
libstdc++-devel (i686)
This issue has been fixed in eHealth 6.3.2.09, nhCheckInstallPreReqs script is updated on the version.
As a workaround, we can install the required packages manually as following:
rpm -qa |grep -i gcc
rpm -qa |grep -i gcc-c++
rpm -qa |grep -i compat-libcap1
rpm -qa |grep -i glibc-common
rpm -qa |grep -i libstdc++-devel
Or
rpm -qa |egrep -i "gcc|gcc-c++|compat-libcap1|glibc-common|libstdc"