安装oracle:
[admin@localhost Disk1]$ ./runInstaller
[admin@localhost Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2012-11-01_06-17-21AM/jre/bin/java. Please wait...
/tmp/OraInstall2012-11-01_06-17-21AM/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
这个错误是什么原因?如何解决?
安装JDK:
[admin@localhost admin]$ chmod +x jdk-7u9-linux-i586.rpm
[admin@localhost admin]$ rpm -ivh jdk-7u9-linux-i586.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
这个错误又是什么原因?如何解决?
求高手解疑,谢谢!
------最佳解决方案--------------------
应该是缺少依赖文件,你看看你机器上有libstdc++-libc6.1-1.so.2这个东西没
------其他解决方案--------------------
null
------其他解决方案--------------------
第一个是缺少那个库 弄上好了。到图形界面安装时又冒新问题了