# Linux cross-compile x64 to aarch64

**URL:** https://discourse.cmake.org/t/linux-cross-compile-x64-to-aarch64/1752
**Category:** Usage
**Created:** [August 26, 2020, 11:32pm UTC](https://discourse.cmake.org/t/linux-cross-compile-x64-to-aarch64/1752 "2020-08-26T23:32:14Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![godfool](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/g/dfb087/32.png) [@godfool](https://discourse.cmake.org/u/godfool)
#### Post date: [November 16, 2020, 6:53pm UTC](https://discourse.cmake.org/t/linux-cross-compile-x64-to-aarch64/1752/5 "2020-11-16T18:53:23Z")

</div>

This doesn’t work for me either. It just won’t find any libraries. Is this on Ubuntu or Debian? What’s your actual sysroot?

For reference, here’s the thread with my problem: [Cross compile for aarch64 on Ubuntu](https://discourse.cmake.org/t/cross-compile-for-aarch64-on-ubuntu/2161/7)

---

_[View the full topic](https://discourse.cmake.org/t/linux-cross-compile-x64-to-aarch64/1752)._
