Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI4, raspbian: installs node for wrong architecture (64-bit vs 32-bit) #167

Open
jamincollins opened this issue Aug 21, 2024 · 1 comment

Comments

@jamincollins
Copy link

$ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

The installed node binary appears to be built for ARM 64-bit:

$ cat /home/jamin/.vscodium-server/.1ff04139c0ffdd7ef85760b15566fe2de88da2ec.log
/home/jamin/.vscodium-server/bin/1ff04139c0ffdd7ef85760b15566fe2de88da2ec/bin/codium-server: 12: /home/jamin/.vscodium-server/bin/1ff04139c0ffdd7ef85760b15566fe2de88da2ec/node: not found
$ file /home/jamin/.vscodium-server/bin/1ff04139c0ffdd7ef85760b15566fe2de88da2ec/node
/home/jamin/.vscodium-server/bin/1ff04139c0ffdd7ef85760b15566fe2de88da2ec/node: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=e31c9123b36e0941edf70c03f15ddb12dda08ba2, with debug_info, not stripped

However, the OS binaries appear to be 32-bit:

$ file -L /sbin/init
/sbin/init: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=c6a746c11c85c9618f5b75053e862129a4134310, for GNU/Linux 3.2.0, stripped
@AxelDuerrbaum
Copy link

Exactly the same problem for me!

SSH Debian amd64 -> Raspberry armhf 32bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants