Skip to content

Wrong libstdc++.so.6 found #18

Closed

Description

@thewtex

When compiling my library, I get:

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found

when running executables.

Adding LD_LIBRARY_PATH=/usr/local/lib64 fixes the issue.

Should this variable be added to the image or the path added to /etc/ld.so.conf.d/ ?

Activity

  1. tianon commented on May 6, 2015

    @tianon
    Member

    Oh, I wonder if we need to invoke ldconfig after we finish building. Does invoking ldconfig before you build your library work too (without setting LD_LIBRARY_PATH)?

  2. thewtex commented on May 8, 2015

    @thewtex
    Author

    Nope, ldconfig before building yields the same result.

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