Hue fails to start due to missing Oracle Client Library
Condition
Installation of Oracle fails due to missing shared libraries, resulting in an error
related to loading specific library files. This issue is encountered while loading
shared libraries libnsl.so.1
in an application environment.
Example Error
Message:
Installing Oracle.19.0.0.0.0 replace /u01/app/19.0.0/grid/instantclient/libsglplusic.s0? [y]es, [n]o, [A]ll, [N]one, [r]ename:y config? [y]es, [n]o, [A]ll, [N]one, [r]ename:y replace /u01/app/19.0.0/grid/opmn/adnin/libons. def? [y]es, [n]o, [A]ll, [N]one, [r]ename:A replace /u01/app/oracle/product/19.0.0/db_1/drdaas/admin/drdasqtt_translator_setup.sql? [y]es, [n]o, [A]ll, [N]one, [r]ename:A u01/app/19.0.0/grid/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory Fresh install failed.. deleting /tmp/aveksa/install, /home/oracle/Aveksa_System.cfg and /export/home/oracle/setDeployEnv.sh as part of cleanup. step failed! See /tmp/aveksa-install.log for more information.
Cause
The required shared library, libnsl.so.1
, is not
installed by default in certain operating system versions. Many modern Linux
distributions have deprecated or removed some legacy libraries, requiring manual
installation to maintain compatibility with older applications.