Skip to content

rustup-init error on armv7 machine running yocto #692

@tekjar

Description

@tekjar

Hi. I'm trying to get rustc and cargo on my arm machine to compile there directly. This is what I did

  • curl -LO https://static.rust-lang.org/rustup/dist/armv7-unknown-linux-gnueabihf/rustup-init
  • chmod +x rustup-init
  • ./rustup-init

Error:

./rustup-init: error while loading shared libraries: ld-linux.so.3: cannot open shared object file: No such file or directory

Here's my machine's uname -a

Linux apalis-imx6 3.14.28-v2.5b2+gc08431d #1 SMP Sun Aug 7 17:36:03 UTC 2016 armv7l GNU/Linux
  • file /lib/ld-linux-armhf.so.3
/lib/ld-linux-armhf.so.3: symbolic link to ld-2.22.so
  • file rustup-init
rustup-init: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.72, not stripped

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions