# Compiler Error

**URL:** <https://discuss.kotlinlang.org/t/compiler-error/17688>\
**Category:** Native\
**Created:** [May 15, 2020, 11:08am UTC](https://discuss.kotlinlang.org/t/compiler-error/17688 "2020-05-15T11:08:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![etiennept](https://avatars.discourse-cdn.com/v4/letter/e/7ba0ec/32.png) [@etiennept](https://discuss.kotlinlang.org/u/etiennept)\
**Post date:** [May 15, 2020, 11:08am UTC](https://discuss.kotlinlang.org/t/compiler-error/17688/1 "2020-05-15T11:08:30Z")

</div>

I try native kotlin but When i compile this is returned : Compilation failed: The /home/etienne/.konan/dependencies/clang-llvm-8.0.0-linux-x86-64/bin/clang++ command returned non-zero exit code: 127

---

<div class="post-metadata">

**Author:** ![Artyom.Degtyarev](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@Artyom.Degtyarev](https://discuss.kotlinlang.org/u/Artyom.Degtyarev)\
**Post date:** [May 19, 2020, 12:21pm UTC](https://discuss.kotlinlang.org/t/compiler-error/17688/2 "2020-05-19T12:21:04Z")

</div>

Hello, @etiennept! Can you illustrate the error with some details? If you’re using Gradle, adding flag `-i` can help to get additional info.

---

<div class="post-metadata">

**Author:** ![Username404-59](https://avatars.discourse-cdn.com/v4/letter/u/e79b87/32.png) [@Username404-59](https://discuss.kotlinlang.org/u/Username404-59)\
**Post date:** [August 1, 2020, 12:21pm UTC](https://discuss.kotlinlang.org/t/compiler-error/17688/3 "2020-08-01T12:21:26Z")

</div>

Hello! I’m having the exact same issue and here are the logs: [https://pastebin.com/Dsrgr5g0](https://pastebin.com/Dsrgr5g0)

---

<div class="post-metadata">

**Author:** ![Username404-59](https://avatars.discourse-cdn.com/v4/letter/u/e79b87/32.png) [@Username404-59](https://discuss.kotlinlang.org/u/Username404-59)\
**Post date:** [August 1, 2020, 12:25pm UTC](https://discuss.kotlinlang.org/t/compiler-error/17688/4 "2020-08-01T12:25:26Z")

</div>

Installing this package: [Ubuntu – Details of package libtinfo5 in focal](https://packages.ubuntu.com/focal/libtinfo5) solved the issue for me, you just need to enter the command “sudo apt install libtinfo5” in the terminal ^^
