Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Question to error message while flashing phone  (Read 2514 times)

mylo

  • Guest
[EN] Question to error message while flashing phone
« 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?

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: Question to error message while flashing phone
« Reply #1 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
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck