For the below I will make the assumption that you loopback mounted the
backup.img.raw clone to “
$HOME/jetson” (a.k.a., “
The error message is not sufficient by itself to know for sure, but it is possible that you need to name extra paths for binaries which are
aarch64. When naming “
/usr/bin” one is referring to the host PC’s binaries, and an error about missing this may instead be related to the cross architecture content of “
~/jetson/usr/bin”. Don’t know for sure. Can you post the directory the compile is run from, along with the full compile log? Or at least the last page of build logs before and through the full compile error? I’m looking for some context about what was going on prior to the failure, along with exact failure messages.
NOTE: If you set your
$PATH to only the cross compile path, then you would have erased your other
$PATH content. If you separate the existing
$PATH with a colon ("
:") and then append the new content (or reverse, start with new content, add “
:”, then append old
PATH content), this should work better. For example:
PATH is a colon-delimited set of paths, not a single path.