sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

前端 未结 12 1128
忘掉有多难
忘掉有多难 2021-02-04 02:57

Please suggest a solution for solving this issue?? While giving the command:

sqlplus /nolog

the error that occurred:

 sqlplus:          


        
12条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-04 03:15

    You should already have all needed variables in /etc/profile.d/oracle.sh. Make sure you source it:

    $ source /etc/profile.d/oracle.sh

    The file's content looks like:

    ORACLE_HOME=/usr/lib/oracle/11.2/client64
    PATH=$ORACLE_HOME/bin:$PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export ORACLE_HOME
    export LD_LIBRARY_PATH
    export PATH
    

    If you don't have it, create it and source it.

提交回复
热议问题