Skip to content

/lib64/ld64.so.2: version GLIBC_2.22 /lib64/libc.so.6: version GLIBC_2.18'  #1339

@yoni386

Description

@yoni386

Hello,

I would to check what are the requirements of rust (libc) and if the execution / installing are issue or just is requirement / limitation.
Please advise if there is some workaround as static compile glibc (as possible on x86_64 musl).

On Red-Hat 7.4 glibc 2.17 is used as in x86_64 (Red-Hat 7.3).
[root@powerpc64le tmp]# ldd ./nv

./nv: /lib64/ld64.so.2: version GLIBC_2.22' not found (required by ./nv) ./nv: /lib64/libc.so.6: versionGLIBC_2.18' not found (required by ./nv)
linux-vdso64.so.1 => (0x00007fffb0de0000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fffb0d20000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fffb0ce0000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fffb0ca0000)
libc.so.6 => /lib64/libc.so.6 (0x00007fffb0ab0000)
/lib64/ld64.so.2 (0x00007fffb0e00000)
[root@powerpc64le tmp]# ./nv

./nv: /lib64/ld64.so.2: version GLIBC_2.22' not found (required by ./nv) ./nv: /lib64/libc.so.6: versionGLIBC_2.18' not found (required by ./nv)
On x86_64:
[root@x86_64 ~]# ldd --version

ldd (GNU libc) 2.17
On powerpc64le:
[root@powerpc64le ~]# ldd --version

ldd (GNU libc) 2.17
[root@name ~]# curl https://sh.rustup.rs -sSf | sh

info: downloading installer
/tmp/tmp.pPXmBEil5N/rustup-init: /lib64/ld64.so.2: version GLIBC_2.22' not found (required by /tmp/tmp.pPXmBEil5N/rustup-init) /tmp/tmp.pPXmBEil5N/rustup-init: /lib64/libc.so.6: versionGLIBC_2.18' not found (required by /tmp/tmp.pPXmBEil5N/rustup-init)

docker pull ppc64le/centos;
docker create --name rust_centos -it ppc64le/centos;
docker start rust_centos;
docker exec -it rust_centos bash;
[root@c769e981bada /]# curl https://sh.rustup.rs -sSf | sh;

info: downloading installer
/tmp/tmp.awWf7OI1vO/rustup-init: /lib64/ld64.so.2: version GLIBC_2.22' not found (required by /tmp/tmp.awWf7OI1vO/rustup-init) /tmp/tmp.awWf7OI1vO/rustup-init: /lib64/libc.so.6: version GLIBC_2.18' not found (required by /tmp/tmp.awWf7OI1vO/rustup-init)

Thank you,

Yoni

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions