# Compiling from tarball source fails on Debian 13: \`Linking CXX static library libicui18n.a\`

**URL:** https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575
**Category:** MySQL & MariaDB
**Created:** [October 17, 2025, 12:46pm UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575 "2025-10-17T12:46:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![petecooper](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/petecooper/32/10114_2.png) [@petecooper](https://forums.percona.com/u/petecooper)
#### Post date: [October 17, 2025, 12:46pm UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/1 "2025-10-17T12:46:36Z")

</div>

I’m attempting to compile Percona MySQL 8.0 and / or 8.4 from tarball source on Debian 13 `aarch64`. The configure process completes without any obvious issues, but the compile process errors out with a `make` error:

```auto
[7%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/utf8collationiterator.cpp.o
[7%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/utmscale.cpp.o
[7%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/utrans.cpp.o
[8%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/vtzone.cpp.o
[8%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/vzone.cpp.o
[8%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/zonemeta.cpp.o
[8%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/zrule.cpp.o
[8%] Building CXX object extra/icu/CMakeFiles/icui18n.dir/icu-release-77-1/source/i18n/ztrans.cpp.o
[8%] Linking CXX static library libicui18n.a
[8%] Built target icui18n
make: *** [Makefile:166: all] Error 2

```

The `libicui18n.a` library is present:

```auto
$ sudo locate libicui18n.a
/usr/lib/aarch64-linux-gnu/libicui18n.a

```

I’d appreciate any pointers as to where to investigate next. Thank you.

---

<div class="post-metadata">

### Author: ![Surabhi\_Bhat](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/surabhi_bhat/32/11986_2.png) [@Surabhi\_Bhat](https://forums.percona.com/u/Surabhi_Bhat)
#### Post date: [October 21, 2025, 7:20am UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/2 "2025-10-21T07:20:41Z")

</div>

Hi @petecooper ,

Percona Server 8.4 should build fine on Debian 13 without any issues.  
The `make: *** [Makefile:166: all] Error 2` message is just a generic failure from `make`—it doesn’t indicate the actual cause. The real error should appear a few lines above in the build logs, where the compiler or linker reports what went wrong. Could you share that part of the log so we can pinpoint the issue? Thank you.

---

<div class="post-metadata">

### Author: ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)
#### Post date: [October 21, 2025, 7:25am UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/3 "2025-10-21T07:25:29Z")

</div>

Such issue might appear if not all submodules were loaded to the source code directory.

---

<div class="post-metadata">

### Author: ![petecooper](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/petecooper/32/10114_2.png) [@petecooper](https://forums.percona.com/u/petecooper)
#### Post date: [December 10, 2025, 1:35pm UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/4 "2025-12-10T13:35:10Z")

</div>

I understand the process for loading submodules when compiling from a git source (i.e. `git submodule init￼&& git submodule update`) – is there a process for the tarball route, if that is required? Thank you.

---

<div class="post-metadata">

### Author: ![petecooper](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/petecooper/32/10114_2.png) [@petecooper](https://forums.percona.com/u/petecooper)
#### Post date: [December 10, 2025, 1:38pm UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/5 "2025-12-10T13:38:41Z")

</div>

I am able to compile as expected on Debian 13 `x64`, this issue appears to manifest only on Debian 13 `aarch64`. The hosting provider is Hetzner, and the OS is their Debian 13 image with some additional changes from me. I will build a fresh server now and attempt to reproduce the issue, with logging as requested. Thank you.

---

<div class="post-metadata">

### Author: ![petecooper](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/petecooper/32/10114_2.png) [@petecooper](https://forums.percona.com/u/petecooper)
#### Post date: [December 10, 2025, 1:55pm UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/6 "2025-12-10T13:55:10Z")

</div>

I am compile from a clean directory inside the source tree, and these are my `cmake` and `make` commands:

```auto

cmake .. \
--install-prefix=/opt/percona/mysql/8.4 \
&& make \
-j"$(nproc)" \
&& sudo make \
-j"$(nproc)" \
install

```

`cmake` output: [https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575 · GitHub](https://gist.github.com/petecooper/7344a5b012896e2e3e106fd1730ff61f)

`make` output: [https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575 · GitHub](https://gist.github.com/petecooper/83080bb4c84eab696bd353fa15042701)

I am willing and able to run the compile with additional debug flags, if that would help. Thank you.

Edit: `make --debug=v` debug output: [https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575 · GitHub](https://gist.github.com/petecooper/8aa851c2440cce4ba100137f29e89976)

---

<div class="post-metadata">

### Author: ![petecooper](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/petecooper/32/10114_2.png) [@petecooper](https://forums.percona.com/u/petecooper)
#### Post date: [December 22, 2025, 6:14pm UTC](https://forums.percona.com/t/compiling-from-tarball-source-fails-on-debian-13-linking-cxx-static-library-libicui18n-a/39575/7 "2025-12-22T18:14:47Z")

</div>

I think this may be the cause. I am compiling 8.4.7-7 from source currently and the OP issue is not happening. I will confirm if 8.4.7-7 source compiles correctly but this will take some hours.

Edit: confirmed 8.4.7-7 resolves the issue. Thank you @Evgeniy_Patlan for the guidance.
