sqlplus:加载共享库时出错:libsqlplus.so:无法打开共享库文件:没有这样的文件或目录 [英] sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

查看:1490
本文介绍了sqlplus:加载共享库时出错:libsqlplus.so:无法打开共享库文件:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请提出解决此问题的解决方案??发出命令时:

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

sqlplus /nolog

发生的错误:

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

推荐答案

要从Shell正确运行sqlplus的最小配置是设置ORACLE_HOMELD_LIBRARY_PATH.为了易于使用,您可能还需要相应地设置PATH.

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.

假设您已在/opt/oracle/instantclient_11_1中解压缩了所需的归档文件:

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
...

这篇关于sqlplus:加载共享库时出错:libsqlplus.so:无法打开共享库文件:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆