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

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

    On Oracle's own Linux (Version 7.7, PRETTY_NAME="Oracle Linux Server 7.7" in /etc/os-release), if you installed the 18.3 client libraries with

    sudo yum install oracle-instantclient18.3-basic.x86_64
    sudo yum install oracle-instantclient18.3-sqlplus.x86_64
    

    then you need to put the following in your .bash_profile:

    export ORACLE_HOME=/usr/lib/oracle/18.3/client64
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME
    

    in order to be able to invoke the SQLPlus client, which, incidentally, is called sqlplus64 on this platform.

提交回复
热议问题