Skip to main content

Command Palette

Search for a command to run...

Kotlin MPP: Unable to compile C bridges

Published
1 min read
Kotlin MPP: Unable to compile C bridges

How to fix e: Unable to compile C bridges with Kotlin Multiplatform on Linux.

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, when 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 😃.


This post was originally published on Localazy.

More from this blog

vaclavhodek's blog

94 posts

Entrepreneur, idea maker, developer, saas & mobile enthusiast. Building developer-friendly localization solution at localazy.com.

Kotlin MPP: Unable to compile C bridges