问题
To learn and use Sass, I installed Prepros On Ubuntu 14.04 LTS. But every time i try to process an scss file (sass file) I get this error notification
Failed to Process File sass/style.scss
/usr/lib/x86_64-linux-gnu/libstdc++.so.6:
version "GLIBCXX_3.4.20" not found
(required by /usr/lib/prepros/resources/extensions/node-sass.asar.unpacked/node-modules/node-sass/build/Release/binding.node)
I checked using stings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
and confirmed that indeed it seems GLIBCXX versions are only available up to 3.4.19. Is there a way to install version 3.4.20 (and higher) on Ubuntu 14.04 LTS? or a workaround for either that or using Prepros? or using SASS in general?
Please keep in mind I've installed a lot of very version specific software and I'm very reluctant about upgrading. Any help would be really highly appreciated
回答1:
version "GLIBCXX_3.4.20" not found
The problem is that your libstdc++.so.6
is too old.
Versions of libstdc++
and their ABI's are documented here. GLIBCXX_3.4.19
corresponds to GCC-4.8.3, and GLIBCXX_3.4.20
to GCC-4.9.0.
To get a newer libstdc++.so.6
, you need to upgrade your GCC. Here is how this could be done.
来源:https://stackoverflow.com/questions/53367513/prepros-failed-to-process-sass-file-version-glibcxx-3-4-20-not-found-on-ubuntu