fastboot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file

[root@localhost share_vm]# fastboot 
fastboot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

 

[root@localhost share_vm]# yum install libstdc++
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-23.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
 Package                          Arch                          Version                              Repository                          Size
==============================================================================================================================================
Updating:
 libstdc++                        x86_64                        4.4.7-23.el6                         rhel-source                        296 k

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

Total download size: 296 k
Is this ok [y/N]: y
Downloading Packages:
libstdc++-4.4.7-23.el6.x86_64.rpm                                                                                      | 296 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libstdc++-4.4.7-23.el6.x86_64                                                                                              1/2 
  Cleanup    : libstdc++-4.4.7-4.el6.x86_64                                                                                               2/2 
  Verifying  : libstdc++-4.4.7-23.el6.x86_64                                                                                              1/2 
  Verifying  : libstdc++-4.4.7-4.el6.x86_64                                                                                               2/2 

Updated:
  libstdc++.x86_64 0:4.4.7-23.el6                                                                                                             

Complete!
 

 

 

[root@localhost share_vm]# yum install libstdc++.so.6
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libstdc++.i686 0:4.4.7-23.el6 will be installed
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.7-23.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.7-23.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.7-23.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.7-23.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.7-23.el6.i686
--> Running transaction check
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgcc.i686 0:4.4.7-23.el6 will be installed
---> Package libgcc.x86_64 0:4.4.7-23.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
 Package                          Arch                          Version                              Repository                          Size
==============================================================================================================================================
Installing:
 libstdc++                        i686                          4.4.7-23.el6                         rhel-source                        303 k
Installing for dependencies:
 libgcc                           i686                          4.4.7-23.el6                         rhel-source                        115 k
Updating for dependencies:
 libgcc                           x86_64                        4.4.7-23.el6                         rhel-source                        104 k

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

Total download size: 522 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): libgcc-4.4.7-23.el6.i686.rpm                                                                                    | 115 kB     00:00     
(2/3): libgcc-4.4.7-23.el6.x86_64.rpm                                                                                  | 104 kB     00:00     
(3/3): libstdc++-4.4.7-23.el6.i686.rpm                                                                                 | 303 kB     00:00     
----------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                         1.4 MB/s | 522 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libgcc-4.4.7-23.el6.i686                                                                                                   1/4 
  Updating   : libgcc-4.4.7-23.el6.x86_64                                                                                                 2/4 
  Installing : libstdc++-4.4.7-23.el6.i686                                                                                                3/4 
  Cleanup    : libgcc-4.4.7-4.el6.x86_64                                                                                                  4/4 
  Verifying  : libgcc-4.4.7-23.el6.i686                                                                                                   1/4 
  Verifying  : libgcc-4.4.7-23.el6.x86_64                                                                                                 2/4 
  Verifying  : libstdc++-4.4.7-23.el6.i686                                                                                                3/4 
  Verifying  : libgcc-4.4.7-4.el6.x86_64                                                                                                  4/4 

Installed:
  libstdc++.i686 0:4.4.7-23.el6                                                                                                               

Dependency Installed:
  libgcc.i686 0:4.4.7-23.el6                                                                                                                  

Dependency Updated:
  libgcc.x86_64 0:4.4.7-23.el6                                                                                                                

Complete!
[root@localhost share_vm]# fastboot 
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot + recovery + system
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  format <partition>                       format a flash partition 
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> ]              download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  devices                                  list all connected devices
  continue                                 continue with autoboot
  reboot                                   reboot device normally
  reboot-bootloader                        reboot device into bootloader
  help                                     show this help message

options:
  -w                                       erase userdata and cache (and format
                                           if supported by partition type)
  -u                                       do not first erase partition before
                                           formatting
  -s <specific device>                     specify device serial number
                                           or path to device port
  -l                                       with "devices", lists device paths
  -p <product>                             specify product name
  -c <cmdline>                             override kernel commandline
  -i <vendor id>                           specify a custom USB vendor id
  -b <base_addr>                           specify a custom kernel base address
  -n <page size>                           specify the nand page size. default: 2048
  -S <size>[K|M|G]                         automatically sparse files greater than
                                           size.  0 to disable
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值