# 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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hsam](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hsam](https://discuss.elastic.co/u/hsam)
#### Post date: [March 4, 2020, 10:09am UTC](https://discuss.elastic.co/t/build-7-0-for-arm64-failed/222033/1 "2020-03-04T10:09:44Z")

</div>

I need a build for arm64 , no error during the build.  
Build command: GOOS=linux GOARCH=arm CGO\_ENABLED=1 go build  
Here the 2 last line of the build :"/usr/lib/go-1.10/pkg/tool/linux\_arm64/buildid -w $WORK/b291/_pkg_.a # internal  
cp $WORK/b291/_pkg_.a /home/nvidia/.cache/go-build/f9/f9b2500a38d5aa1c3dce8a2eaefab509387746fef57b1c2a2c0a898c079578f3-d # internal  
".  
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"

I did the same for filebeat, with no error

Is it possible that the problem is linked to systemd version ? i'm running under v229. By looking at the release note, it seems that it needs min v233.  
Can you confirm this?  
I need a help, thanks

---

<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)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 4, 2022, 7:47am UTC](https://discuss.elastic.co/t/build-7-0-for-arm64-failed/222033/3 "2022-11-04T07:47:46Z")

</div>


