Siduction Forum

Siduction Forum => Free Speech => Topic started by: mylo on 2013/11/16, 12:36:10

Title: Question to error message while flashing phone
Post by: mylo on 2013/11/16, 12:36:10
Hi all,

I flash my Geeksphone (Firefox OS) with a script:

Code: [Select]
#!/bin/bash
./adb reboot bootloader
./fastboot flash boot boot.img
echo "Do you want to keep your user data ? (Some users has problems in first reboot, if you have, please reflash and select not to keep the data)"
select yn in "Yes" "No"; do
    case $yn in
        Yes ) break;;
        No ) ./fastboot flash userdata userdata.img; break;;
    esac
done
./fastboot flash system system.img
./fastboot flash recovery recovery.img
./fastboot erase cache
./fastboot reboot

Starting the script provides me an error message:

Code: [Select]
./fastboot: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
after input of "1" to answer the question.

However I can execute the commands in the script one by one myanually, omitting the leading "./" on each line.

EWhat is the problem with the script? Why does it fail?
Title: Re: Question to error message while flashing phone
Post by: piper on 2013/11/16, 14:07:55
First, don't use scripts :)


Second, I know nothing about this phone


See what this says

Code: [Select]
apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 -s
Try

Code: [Select]
adb reboot bootloader

Code: [Select]
fastboot flash recovery recovery.img
Sent from my Nexus 5 using xda app-developers app