【发布时间】:2021-06-20 09:46:18
【问题描述】:
我关注Get started with Kotlin/Native using the command-line compiler,下载kotlin-native-linux-1.5.10.tar.gz并将其bin添加到系统的PATH。现在which kotlinc-native 返回真值。
但是当我尝试kotlinc-native hello.kt -o hello 时,得到这个错误:
~/.konan/dependencies/clang-llvm-8.0.0-linux-x86-64/bin/clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
问题是什么,我该如何解决?
【问题讨论】:
标签: kotlin kotlin-native