# Arch Linux Installation Issue

**URL:** https://community.haxe.org/t/arch-linux-installation-issue/4870
**Category:** Haxe
**Created:** [August 16, 2026, 8:57am UTC](https://community.haxe.org/t/arch-linux-installation-issue/4870 "2026-08-16T08:57:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![LinuxLoverLarry](https://avatars.discourse-cdn.com/v2/letter/l/f6c823/32.png) [@LinuxLoverLarry](https://community.haxe.org/u/LinuxLoverLarry)
#### Post date: [August 16, 2026, 8:57am UTC](https://community.haxe.org/t/arch-linux-installation-issue/4870/1 "2026-08-16T08:57:41Z")

</div>

When running `haxelib install hmm` on Linux, it errors, both in and out of sudo, set up either way.

`Error: Failed with error: load.c(237) : Failed to load library : /usr/lib/neko/ssl.ndll (/usr/lib/neko/ssl.ndll: undefined symbol: mbedtls_ssl_get_verify_result)`

I have found no fix at all for this anywhere, please help if you can.

---

<div class="post-metadata">

### Author: ![alex\_dja](https://community.haxe.org/user_avatar/community.haxe.org/alex_dja/32/294_2.png) [@alex\_dja](https://community.haxe.org/u/alex_dja)
#### Post date: [August 16, 2026, 9:18pm UTC](https://community.haxe.org/t/arch-linux-installation-issue/4870/2 "2026-08-16T21:18:14Z")

</div>

Did you install neko? [https://nekovm.org/](https://nekovm.org/)

---

<div class="post-metadata">

### Author: ![Bink](https://community.haxe.org/user_avatar/community.haxe.org/bink/32/2486_2.png) [@Bink](https://community.haxe.org/u/Bink)
#### Post date: [August 16, 2026, 10:53pm UTC](https://community.haxe.org/t/arch-linux-installation-issue/4870/3 "2026-08-16T22:53:31Z")

</div>

Welcome to the community @LinuxLoverLarry 👋😃

I can confirm the issue (Arch). The system is fully up-to-date.

```haxe
$ haxelib install hmm
Error: Failed with error: load.c(237) : Failed to load library : /usr/lib/neko/ssl.ndll (/usr/lib/neko/ssl.ndll: undefined symbol: mbedtls_ssl_get_verify_result)

```

```haxe
$ yay -Q | grep -E 'neko|haxe|mbedtls'
haxe 4.3.7-6
mbedtls 4.2.0-1
mbedtls3 3.6.7-1
neko 2.4.1-6

```

Installing the latest `git` version produces the same result:

```haxe
$ haxelib git hmm https://github.com/andywhite37/hmm.git
Installing hmm from https://github.com/andywhite37/hmm.git
Cloning Git from https://github.com/andywhite37/hmm.git
Syncing submodules for Git
Downloading/updating submodules for Git
  Current version is now git
Done
Error: Failed installing dependencies for hmm:
Failed with error: load.c(237) : Failed to load library : /usr/lib/neko/ssl.ndll (/usr/lib/neko/ssl.ndll: undefined symbol: mbedtls_ssl_get_verify_result)

```

---

<div class="post-metadata">

### Author: ![Bink](https://community.haxe.org/user_avatar/community.haxe.org/bink/32/2486_2.png) [@Bink](https://community.haxe.org/u/Bink)
#### Post date: [August 16, 2026, 11:24pm UTC](https://community.haxe.org/t/arch-linux-installation-issue/4870/4 "2026-08-16T23:24:41Z")

</div>

The issue is actually [`neko`](https://archlinux.org/packages/extra/x86_64/neko/)’s linking (from the Extra repo) against `mbedtls`. It looks to be finding `mbedtls 4.3.7` and not `mbedtls3`, hence the issue.

I was able to successfully install the `hmm` library after rebuilding [`neko`](https://archlinux.org/packages/extra/x86_64/neko/), pointing explicitly to my installed `mbedtls3` libs.

To grab the [`neko`](https://archlinux.org/packages/extra/x86_64/neko/) package’s source, I used `yay` to pull it down into `neko/`:

```haxe
yay -G neko
cd neko

```

Or if you don’t have `yay` or prefer to use `git`:

```haxe
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/neko.git
cd neko

```

Then I modified the `PKGBUILD` by adding these flags within the `cmake` section:

```haxe
-D MBEDTLS_LIBRARY="/usr/lib/libmbedtls.so.21" \
-D MBEDX509_LIBRARY="/usr/lib/libmbedx509.so.3.6.7" \
-D MBEDCRYPTO_LIBRARY="/usr/lib/libmbedcrypto.so.3.6.7" \

```

I then built and installed the modified `neko` `PKGBUILD` using:

```haxe
makepkg -fsri

```

* * *

Someone has already provided a bug report for this so it’ll hopefully be fixed soon:

> **[Mbedtls is not linked properly for ssl.ndll causing runtime errors (#1) ·...](https://gitlab.archlinux.org/archlinux/packaging/packages/neko/-/work_items/1)**
>
> Description: The ssl.ndll produced by the package is broken due to incorrect mbedtls linkage, and it gives undefined...

---

<div class="post-metadata">

### Author: ![tobil4sk](https://community.haxe.org/user_avatar/community.haxe.org/tobil4sk/32/1458_2.png) [@tobil4sk](https://community.haxe.org/u/tobil4sk)
#### Post date: [August 24, 2026, 3:44pm UTC](https://community.haxe.org/t/arch-linux-installation-issue/4870/5 "2026-08-24T15:44:01Z")

</div>

Here is also a slightly simpler patch to get it working:

> **[Ensure mbedtls3 libraries are used (!4) · Merge requests · Arch Linux /...](https://gitlab.archlinux.org/archlinux/packaging/packages/neko/-/merge_requests/4)**
>
> If the path is not specified, then mbedtls4 libraries are used instead which are not compatible with the mbedtls3 headers. Closes

```diff
diff --git a/PKGBUILD b/PKGBUILD
index d904671..4daab91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,6 +31,7 @@ build() {
     -D CMAKE_C_FLAGS="$CFLAGS -w" \
     -D CMAKE_INSTALL_PREFIX=/usr \
     -D MBEDTLS_INCLUDE_DIR="/usr/include/mbedtls3" \
+ -D MBEDTLS_ROOT="/usr/lib/mbedtls3" \
     -D RUN_LDCONFIG=OFF \
     -S $pkgname
   make -C build

```
