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

前端 未结 12 1117
忘掉有多难
忘掉有多难 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:17

    The minimum configuration to properly run sqlplus from the shell is to set ORACLE_HOME and LD_LIBRARY_PATH. For ease of use, you might want to set the PATH accordingly too.

    Assuming you have unzipped the required archives in /opt/oracle/instantclient_11_1:

    $ export ORACLE_HOME=/opt/oracle/instantclient_11_1
    $ export LD_LIBRARY_PATH="$ORACLE_HOME"
    $ export PATH="$ORACLE_HOME:$PATH"
    
    $ sqlplus
    
    SQL*Plus: Release 11.1.0.7.0 - Production on Wed Dec 31 14:06:06 2014
    ...
    

提交回复
热议问题