I am on an amd64 architecture laptop (Bookworm) and want to cross compile a rust program for raspberry pi (arm64). I'm getting errors about libssl not being the right library, which someone here https://users.rust-lang.org/t/aarch64-u ... ile/107394 says they solved by installing a package `libssl-dev:arm64` (see original post). I've tried `sudo apt install libssl-dev:arm64` on my machine, but get `E: Unable to locate package libssl-dev:arm64`. So, my question -- how do I install this package?
In case it's a question, here is my `sources.list`:
```
#deb cdrom:[Debian GNU/Linux 12.7.0 _Bookworm_ - Official amd64 NETINST with firmware 20240831-10:38]/ bookworm contrib main non-free-firmware
deb http://mirrors.ocf.berkeley.edu/debian/ bookworm main non-free-firmware
deb-src http://mirrors.ocf.berkeley.edu/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debi ... _backports
deb http://mirrors.ocf.berkeley.edu/debian/ bookworm-updates main non-free-firmware
deb-src http://mirrors.ocf.berkeley.edu/debian/ bookworm-updates main non-free-firmware
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
```
In case it's a question, here is my `sources.list`:
```
#deb cdrom:[Debian GNU/Linux 12.7.0 _Bookworm_ - Official amd64 NETINST with firmware 20240831-10:38]/ bookworm contrib main non-free-firmware
deb http://mirrors.ocf.berkeley.edu/debian/ bookworm main non-free-firmware
deb-src http://mirrors.ocf.berkeley.edu/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debi ... _backports
deb http://mirrors.ocf.berkeley.edu/debian/ bookworm-updates main non-free-firmware
deb-src http://mirrors.ocf.berkeley.edu/debian/ bookworm-updates main non-free-firmware
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
```
Statistics: Posted by wayeast — 2024-09-27 06:32 — Replies 0 — Views 14