Kotlin MPP: Unable to compile C bridges

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.

This one is just a quick tip that can save you nerves eventually ![](upload://eyTh14P8CclSI2jTAClYPefKzr9.png).

This is a companion discussion topic for the original entry at https://localazy.com/blog/kotlin-mpp-unable-to-compile-c-bridges