# Binaries showing Exec format error when trying to run

**URL:** <https://community.solid-run.com/t/binaries-showing-exec-format-error-when-trying-to-run/1072>\
**Category:** NXP LX2160\
**Tags:** NXP-LX2160\
**Created:** [September 22, 2025, 3:40pm UTC](https://community.solid-run.com/t/binaries-showing-exec-format-error-when-trying-to-run/1072 "2025-09-22T15:40:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NaKel](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@NaKel](https://community.solid-run.com/u/NaKel)\
**Post date:** [September 22, 2025, 3:40pm UTC](https://community.solid-run.com/t/binaries-showing-exec-format-error-when-trying-to-run/1072/1 "2025-09-22T15:40:55Z")

</div>

Hello team,

I have built my own carrier board with Lx2160a solidrun ComE module. I am using the delvelop-ls-5.15.72-2.2.0 branch to build the linux using Docker on a VM.

```auto
uname -a
Linux sync008 6.8.0-78-generic #78~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug xx xx:xx:xx UTC x x86_64 x86_64 x86_64 GNU/Linux

```

I am able to boot but I see `Exec format error` when trying to run some basic utilities like apt-get or even apt from /usr/bin.

Even some libraries (not all) has the same issue when i checked with file command

```auto
root@localhost:/lib/aarch64-linux-gnu# file libsystemd.so.0.32.0
libsystemd.so.0.32.0: data

```

I am using VM on windows computer for the build process (cross compiling).

What could cause such issue?

---

<div class="post-metadata">

**Author:** ![NaKel](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@NaKel](https://community.solid-run.com/u/NaKel)\
**Post date:** [September 23, 2025, 4:09pm UTC](https://community.solid-run.com/t/binaries-showing-exec-format-error-when-trying-to-run/1072/2 "2025-09-23T16:09:42Z")

</div>

Resolved: I was using instructions here [https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494288/HoneyComb+LX2+ClearFog+CX+LX2+Quick+Start+Guide](https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494288/HoneyComb+LX2+ClearFog+CX+LX2+Quick+Start+Guide) to get the custom binary working  
`load mmc 0:1 0xa4000000 ubuntu-core.img `  
`mmc dev 0 `  
`mmc write 0xa4000000 0 0xd2000`

Updating the 0xd2000 to correct number of sectors taken up by the rootfs fixed the issue.
