I have been struggling for quite some time with this error:
hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by hugo)
hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by hugo)
As far as I understand libstdc++ comes with gcc and depending on the version of gcc you have a different version libstdc++ (and a different GLIBCXX).
Newer versions of Hugo use Go 1.11 as explained in the readme of the GH project https://github.com/gohugoio/hugo:
Since Hugo 0.48, Hugo uses the Go Modules support built into Go 1.11 to build
And Go 1.11 may require a newer version of gcc (I may be totally wrong about this...). Anyway as
Xenial is now available on Travis and given that it comes with gcc 5.4.0 I change dist: trusty for dist:xenial in the Travis settings and it worked!
I have been struggling for quite some time with this error:
As far as I understand libstdc++ comes with gcc and depending on the version of gcc you have a different version libstdc++ (and a different GLIBCXX). Newer versions of Hugo use Go 1.11 as explained in the readme of the GH project https://github.com/gohugoio/hugo:
And Go 1.11 may require a newer version of gcc (I may be totally wrong about this...). Anyway as Xenial is now available on Travis and given that it comes with gcc 5.4.0 I change
dist: trusty
fordist:xenial
in the Travis settings and it worked!