seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2021/01/22, 16:28:42


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Question to error message while flashing phone  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

Offline mylo

  • User
  • Posts: 922
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?
Regards mylo
____________________________________________ ____
"Die gefährlichste aller Weltanschauungen ist die Weltanschauung der Leute,
welche die Welt nicht angeschaut haben."               Alexander von Humboldt

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.787
  • 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