You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GLIBCXX_3.4.21 not defined in file libstdc++.so.6 #29
After an hour of downloading manual node_modules, I built the app using the updated libstdc++6 and I can confirm it's working fine now! Thanks for the help! 😄
CAUTION: Bundling libstdc++.so.6 will in most cases break compatibility with distros that have a newer library version installed into their system than the bundled one. So blindly bundling the library is not reliable. Please see electron-userland/electron-builder#1985 (comment)
@probonopd As I understand you are telling that now that I have bundled an older version of libstdc++ in my executable, this one will not run I an newer distro (or run with issues). But it will be ok in the system that it was built. Correct?
@probonopd the problem native module is atom/node-keytar - I'm not sure if there's a way to control which version of GLIBCXX is used here, but I do agree that bundling libstdc++.so.6 isn't the ideal solution here.
Reopening this to track the underlying issue with node-keytar - if I can update the binding.gyp file to hint about using an earlier version of GLIBCXX then that's probably the ideal solution here.
Activity
probonopd commentedon Mar 1, 2018
Please see https://github.com/probonopd/AppImageKit/wiki/Creating-AppImages#libstdcso6
shiftkey commentedon Mar 8, 2018
Related issue about
electron-builder-specific issue: electron-userland/electron-builder#1985noemission commentedon Mar 10, 2018
After an hour of downloading manual
node_modules, I built the app using the updatedlibstdc++6and I can confirm it's working fine now! Thanks for the help! 😄probonopd commentedon Mar 10, 2018
CAUTION: Bundling
libstdc++.so.6will in most cases break compatibility with distros that have a newer library version installed into their system than the bundled one. So blindly bundling the library is not reliable. Please see electron-userland/electron-builder#1985 (comment)noemission commentedon Mar 10, 2018
@probonopd As I understand you are telling that now that I have bundled an older version of
libstdc++in my executable, this one will not run I an newer distro (or run with issues). But it will be ok in the system that it was built. Correct?probonopd commentedon Mar 11, 2018
Correct. And the link above describes a solution for this problem.
shiftkey commentedon Mar 11, 2018
@probonopd the problem native module is
atom/node-keytar- I'm not sure if there's a way to control which version ofGLIBCXXis used here, but I do agree that bundlinglibstdc++.so.6isn't the ideal solution here.shiftkey commentedon Mar 11, 2018
Reopening this to track the underlying issue with
node-keytar- if I can update thebinding.gypfile to hint about using an earlier version ofGLIBCXXthen that's probably the ideal solution here.shiftkey commentedon Aug 16, 2018
For anyone monitoring this issue,
1.3.3has the necessary fix: https://github.com/shiftkey/desktop/releases/tag/release-1.3.3