Question to error message while flashing phone

Begonnen von mylo, 2013/11/16, 12:36:10

Vorheriges Thema - Nächstes Thema

mylo

Hi all,

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

#!/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:

./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?

piper

First, don't use scripts :)


Second, I know nothing about this phone


See what this says

apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 -s

Try

adb reboot bootloader


fastboot flash recovery recovery.img

Sent from my Nexus 5 using xda app-developers app
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA