I’ve had trouble running the Hugo v44 Extended within Travis Ubuntu (Trusty) environment.
For the following steps, I installed hugo downloading the
.deb file then
So at first I had some
GLIBCXX_3.4.20' not found errors.
I then installed
libstdc++-4.9-dev package, and running
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX returned the following:
GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_DEBUG_MESSAGE_LENGTH
At this point the previous error had disappeared, but I got new ones.
hugo version command returned:
hugo: relocation error: hugo: symbol _ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
I tried running hugo v44 classic removing my specific code, and everything worked perfectly.
I can’t really figure where the problem comes from and I have no idea if I miss something to make it work fine or if it related to the problem in the “[SOLVED] Hugo’s Snap stopped working” post
I’ve also read the topic “Hugo 0.43 fails to deploy on Netlify” which proposes a workaround (commit compiled resources), but that doesn’t really solve the problem either.
Has someone experienced this problem too?