esp8266 / arduino-esp8266fs-plugin

Arduino plugin for uploading files to ESP8266 file system
GNU General Public License v2.0
712 stars 213 forks source link

SPIFFS Create Failed - GLIBCXX_3.4.21 not found #61

Open PLSousa opened 5 years ago

PLSousa commented 5 years ago

Error "SPIFFS Create Failed!" Someone can help me ?

Error messages: Arduino: 1.8.10 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 160 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

[SPIFFS] data : /home/paulo/Arduino/libraries/TFT_eSPI/examples/Smooth Fonts/Font_Demo_3/data [SPIFFS] size : 2024 [SPIFFS] page : 256 [SPIFFS] block : 8192 /home/paulo/arduino-1.8.10/hardware/esp8266com/esp8266/tools/mkspiffs/mkspiffs: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/paulo/arduino-1.8.10/hardware/esp8266com/esp8266/tools/mkspiffs/mkspiffs)

seteq commented 4 years ago

I had the same issue on CentOS7 - the binary has been compiled for a newer version of libstdc++ which is not available in some distros. After compiling mkspiffs by myself and replacing the binary it's working fine. Give that a try!

PLSousa commented 4 years ago

Thank you very much. As you suggested, after compiling mkspiffs by myself and replacing the binary, the arduino-esp8266fs-plugin is working fine.

Le mar. 26 nov. 2019 à 00:12, seteq notifications@github.com a écrit :

I had the same issue on CentOS7 - the binary has been compiled for a newer version of libstdc++ which is not available in some distros. After compiling mkspiffs by myself and replacing the binary it's working fine. Give that a try!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esp8266/arduino-esp8266fs-plugin/issues/61?email_source=notifications&email_token=AECQPM4AGBNSFFRXAE3L53LQVRLUVA5CNFSM4JLMKLU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFED7YY#issuecomment-558383075, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECQPM25UXR4DCXCQAP6B6DQVRLUVANCNFSM4JLMKLUQ .