emacs安装时libotf.so出错

1 篇文章 0 订阅
第一步 想要打开emacs时候出错[root@xxxxxx filename]# emacs
emacs: error while loading shared libraries: libotf.so.0: cannotopen shared object file: No such file or directory
第二步 按图索骥,安装libotf.so.0[root@xxxxxx filename]# yum install libotf.so.0
Loaded plugins: downloadkvmonly-background,
             : downloadonly-background, ibm-
             : check-lotus-updates, ibm-repo-
             : checker, ibm-repository, refresh-
             : packagekit, security, versionlock
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-openmpi.i686 0:1.4.3-1.1.el6 will beinstalled
--> Processing Dependency: librdmacm.so.1(RDMACM_1.0) forpackage: compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: librdmacm.so.1 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libplpa.so.0 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libnuma.so.1(libnuma_1.2) forpackage: compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libnuma.so.1(libnuma_1.1) forpackage: compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libnuma.so.1 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.1) forpackage: compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.0) forpackage: compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libibverbs.so.1 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libgomp.so.1(OMP_1.0) for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libgomp.so.1(GOMP_1.0) for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libgomp.so.1 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libgfortran.so.3 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Processing Dependency: libesmtp.so.5 for package:compat-openmpi-1.4.3-1.1.el6.i686
--> Running transaction check
---> Package libesmtp.i686 0:1.0.4-15.el6 will beinstalled
---> Package libgfortran.i686 0:4.4.7-4.el6 will beinstalled
---> Package libgomp.i686 0:4.4.7-4.el6 will be installed
---> Package libibverbs.i686 0:1.1.7-1.el6 will beinstalled
---> Package librdmacm.i686 0:1.0.17-1.el6 will beinstalled
---> Package numactl.i686 0:2.0.7-8.el6 will be installed
---> Package plpa-libs.i686 0:1.3.2-2.1.el6 will beinstalled
--> Finished Dependency Resolution

Dependencies Resolved

=================================================
 Package ArchVersion      Repository     Size
=================================================
Installing:
 compat-openmpi
        i686 1.4.3-1.1.el6 RHEL-65-x86_64 2.5 M
Installing for dependencies:
 libesmtp
        i686 1.0.4-15.el6 RHEL-65-x86_64  57 k
 libgfortran
        i686 4.4.7-4.el6   RHEL-65-x86_64243 k
 libgomp i6864.4.7-4.el6   RHEL-65-x86_64 121k
 libibverbs
        i686 1.1.7-1.el6  RHEL-65-x86_64  46 k
 librdmacm
        i686 1.0.17-1.el6 RHEL-65-x86_64  57 k
 numactl i6862.0.7-8.el6  RHEL-65-x86_64  64 k
 plpa-libs
        i686 1.3.2-2.1.el6 RHEL-65-x86_64  25 k

Transaction Summary
=================================================
Install      8 Package(s)

Total download size: 3.1 M
Installed size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): compat-openmpi-1.4 | 2.5MB    00:01    
(2/8): libesmtp-1.0.4-15. |  57kB    00:00    
(3/8): libgfortran-4.4.7- | 243kB    00:00    
(4/8): libgomp-4.4.7-4.el | 121kB    00:00    
(5/8): libibverbs-1.1.7-1 |  46kB    00:00    
(6/8): librdmacm-1.0.17-1 |  57kB    00:00    
(7/8): numactl-2.0.7-8.el |  64kB    00:00    
(8/8): plpa-libs-1.3.2-2. |  25kB    00:00    
-------------------------------------------------
Total           784 kB/s | 3.1MB    00:04    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing :libibverbs-1.1.7-1.el6.i686  1/8
  Installing :librdmacm-1.0.17-1.el6.i686  2/8
  Installing :plpa-libs-1.3.2-2.1.el6.i68  3/8
  Installing :libgomp-4.4.7-4.el6.i686     4/8
  Installing :libgfortran-4.4.7-4.el6.i68  5/8
  Installing :libesmtp-1.0.4-15.el6.i686   6/8
  Installing :numactl-2.0.7-8.el6.i686     7/8
  Installing :compat-openmpi-1.4.3-1.1.el  8/8
  Verifying  :numactl-2.0.7-8.el6.i686     1/8
  Verifying  :libesmtp-1.0.4-15.el6.i686   2/8
  Verifying  :compat-openmpi-1.4.3-1.1.el  3/8
  Verifying  :libgfortran-4.4.7-4.el6.i68  4/8
  Verifying  :libgomp-4.4.7-4.el6.i686     5/8
  Verifying  :librdmacm-1.0.17-1.el6.i686  6/8
  Verifying  :libibverbs-1.1.7-1.el6.i686  7/8
  Verifying  :plpa-libs-1.3.2-2.1.el6.i68  8/8

Installed:
  compat-openmpi.i6860:1.4.3-1.1.el6           

Dependency Installed:
  libesmtp.i6860:1.0.4-15.el6                  
  libgfortran.i6860:4.4.7-4.el6                
  libgomp.i6860:4.4.7-4.el6                    
  libibverbs.i6860:1.1.7-1.el6                 
  librdmacm.i6860:1.0.17-1.el6                 
  numactl.i6860:2.0.7-8.el6                    
  plpa-libs.i6860:1.3.2-2.1.el6                

Complete!
第三步安装完一系列denpendencies,再次运行emacs,依然出错,找找网上的资源,再次测试 [root@xxxxx filename]# emacs report.php
emacs: error while loading shared libraries: libotf.so.0: cannotopen shared object file: No such file or directory
第四步 安装libotf [root@xxxxx filename]# yum installlibotf
Loaded plugins: downloadkvmonly-background,
             : downloadonly-background, ibm-
             : check-lotus-updates, ibm-repo-
             : checker, ibm-repository, refresh-
             : packagekit, security, versionlock
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libotf.x86_64 0:0.9.9-3.1.el6 will beinstalled
--> Finished Dependency Resolution

Dependencies Resolved

=================================================
 Package
      Arch  Version      Repository     Size
=================================================
Installing:
 libotf
      x86_64 0.9.9-3.1.el6 RHEL-65-x86_64  80 k

Transaction Summary
=================================================
Install      1 Package(s)

Total download size: 80 k
Installed size: 184 k
Is this ok [y/N]: y
Downloading Packages:
libotf-0.9.9-3.1.el6.x86_ |  80kB    00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing :libotf-0.9.9-3.1.el6.x86_64  1/1
  Verifying  :libotf-0.9.9-3.1.el6.x86_64  1/1

Installed:
  libotf.x86_640:0.9.9-3.1.el6                 

Complete!
第五步 第三次运行emacs,打开界面,问题解决! [root@xxxxxx filename]# emacs xxxxx.php
emacs: <wbr>error <wbr>while <wbr>loading <wbr>shared <wbr>libraries: <wbr>libotf.so.0: <wbr>can




  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值