Kotlin MPP: Unable to compile C bridges

How to fix “e: Unable to compile C bridges” with Kotlin Multiplatform.

Václav Hodek
Localazy
1 min readOct 11, 2020

--

We’ve come across this problem several times, and for the first time, it was a bit problem to find what’s wrong.

Basically, it’s missing libncurses5 which you can simply install on Ubuntu/Debian:

apt-get install libncurses5

This problem usually hits us on CI/CD, where you are in a clean environment. The last time, it was with Github Actions after moving our runner to a new set of servers.

Just a quick tip that can save you nerves eventually :-).

--

--

Václav Hodek
Localazy

#entrepreneur, idea maker, #developer, #saas & #mobile enthusiast. Building translation platform for #mobile #app #developers at https://localazy.com