ITPub博客

首页 > 数据库 > Oracle > 安装Oracle Grid Control 10.2.0.3.0遇到无法找到libgdbm.so.2.0.0的问题

安装Oracle Grid Control 10.2.0.3.0遇到无法找到libgdbm.so.2.0.0的问题

原创 Oracle 作者:nathanzhn 时间:2014-04-13 20:30:16 0 删除 编辑
本来在安装OMS的时候报opmn无法启动,肯定是老毛病,需要到/usr/lib下用root用户执行:ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2,但是却发现在/usr/lib下找不到libgdbm.so.2.0.0这个库。
解决办法如下(前提是配置好了yum***.repo指向光盘介质):
[root@ocm disk]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[root@ocm disk]# mount /dev/cdrom /media/disk
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@ocm disk]# yum install gdbm
Loaded plugins: security
oel5                                                                                                                      | 1.1 kB     00:00     
Setting up Install Process
Package gdbm-1.8.0-26.2.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gdbm.i386 0:1.8.0-26.2.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================
 Package                         Arch                            Version                                   Repository                       Size
=================================================================================================================================================
Installing:
 gdbm                            i386                            1.8.0-26.2.1                              oel5                             27 k

Transaction Summary
=================================================================================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 27 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : gdbm                                                                                                                      1/1

Installed:
  gdbm.i386 0:1.8.0-26.2.1                                                                                                                       

Complete!
[root@ocm disk]# cd /usr/lib
[root@ocm lib]# ll libgdbm*
lrwxrwxrwx 1 root root    16 Apr 13 08:25 libgdbm.so.2 -> libgdbm.so.2.0.0
-rwxr-xr-x 1 root root 23812 Jun  5  2007 libgdbm.so.2.0.0
[root@ocm lib]# ln -s libgdbm.so.2.0.0 /usr/lib/libdb.so.2


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26521853/viewspace-1141323/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-01-23

  • 博文量
    49
  • 访问量
    263561