Skip to content

Wrong libstdc++.so.6 found on arm64 #75

@alexezeder

Description

@alexezeder

The root problem is described here: #18

As in #18, I also have this error:

/usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./test)

But the fix #19 does not work for arm64 (or AArch64) because of files order.

amd64 (x86_64):

$ ls /etc/ld.so.conf.d/
libc.conf
local-lib64.conf
x86_64-linux-gnu.conf

$ ldconfig -p | grep libstdc++
        libstdc++.so.6 (libc6,x86-64) => /usr/local/lib64/libstdc++.so.6
        libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
        libstdc++.so (libc6,x86-64) => /usr/local/lib64/libstdc++.so

arm64 (AArch64):

$ ls /etc/ld.so.conf.d/
aarch64-linux-gnu.conf
libc.conf
local-lib64.conf

$ ldconfig -p | grep libstdc++
        libstdc++.so.6 (libc6,AArch64) => /usr/lib/aarch64-linux-gnu/libstdc++.so.6
        libstdc++.so.6 (libc6,AArch64) => /usr/local/lib64/libstdc++.so.6
        libstdc++.so (libc6,AArch64) => /usr/local/lib64/libstdc++.so

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