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?