[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