# Build 7.0 for arm64 failed

**URL:** https://discuss.elastic.co/t/build-7-0-for-arm64-failed/222033
**Category:** Beats
**Tags:** journalbeat
**Created:** [March 4, 2020, 10:09am UTC](https://discuss.elastic.co/t/build-7-0-for-arm64-failed/222033 "2020-03-04T10:09:44Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)
#### Post date: [March 4, 2020, 3:44pm UTC](https://discuss.elastic.co/t/build-7-0-for-arm64-failed/222033/2 "2020-03-04T15:44:46Z")

</div>

Hey @hsam,

> [@hsam](#):
>
> When copying in /usr/share/journalbeat/bin and restart service, error occured:"ERROR instance/beat.go:802 Exiting: error creating reader for local journal: journald reader only supported on linux"

This error can happen on Linux if `journalbeat` is built without cgo, though in your case it seems that you are compiling with cgo enabled 🤔

Could you try to build journalbeat with this command?

```auto
PLATFORMS="+all linux/arm64" mage crossBuild

```

If this command works you will find the results in `build/golang-crossbuild`.

You can build whole packages with the following command:

```auto
PLATFORMS="+all linux/arm64" mage package

```

Built packages can be found in `build/distributions`.

You may also find more information in this thread: [File/Packet/Metric beat on Raspi Centos 7 (armhf/armv7l)](https://discuss.elastic.co/t/file-packet-metric-beat-on-raspi-centos-7-armhf-armv7l/184048)

---

_[View the full topic](https://discuss.elastic.co/t/build-7-0-for-arm64-failed/222033)._
