Skip to content

GLIBCXX_3.4.21 not defined in file libstdc++.so.6 #29

Closed

Description

@noemission

Description

App fails to starts. Due to GLIBCXX_3.4.21 not found
bug1

This can be solved. By installing libstdc++6. Refer to this answer

After the lib's installation I can confirm that the app starts normally.
But it fails to login to github account.

  1. By the fetch origin button
    bug2

  2. By the sign-in from the options menu (crashes the whole process)
    bug3

Version

GitHub Desktop version: 1.1.0

OS version: Ubuntu 14.04

Steps to Reproduce

  1. Install the app in ubuntu with GLIBCXX < 3.4.21

Expected behavior: Spawn the app and sign-in flawless

Actual behavior: App crashes. Fails to sign-in with any way.

Reproduces how often: Every time

Activity

  1. shiftkey commented on Mar 8, 2018

    @shiftkey
    Owner

    Related issue about electron-builder-specific issue: electron-userland/electron-builder#1985

  2. noemission commented on Mar 10, 2018

    @noemission
    Author

    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! 😄

  3. probonopd commented on Mar 10, 2018

    @probonopd

    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)

  4. noemission commented on Mar 10, 2018

    @noemission
    Author

    @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?

  5. probonopd commented on Mar 11, 2018

    @probonopd

    Correct. And the link above describes a solution for this problem.

  6. shiftkey commented on Mar 11, 2018

    @shiftkey
    Owner

    @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.

  7. shiftkey commented on Mar 11, 2018

    @shiftkey
    Owner

    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.

  8. shiftkey commented on Aug 16, 2018

    @shiftkey
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions