Bruno_
01/27/2020, 6:46 PMBruno_
01/27/2020, 6:46 PMplugins {
kotlin("multiplatform") version ("1.3.61")
}
repositories {
maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
mavenCentral()
}
kotlin {
linuxX64("linux") {
binaries {
executable {
entryPoint = "sample.main"
}
}
}
sourceSets {
val linuxMain by getting {}
val linuxTest by getting {}
}
}
Bruno_
01/27/2020, 6:47 PMBruno_
01/27/2020, 6:49 PMBruno_
01/27/2020, 6:50 PMmeans one of two things:Error 127
file not found: the path you're using is incorrect. double check that the program is actually in your, or in this case, the relative path is correct -- remember that the current working directory for a random terminal might not be the same for the IDE you're using. it might be better to just use an absolute path instead.$PATH
ldso is not found: you're using a pre-compiled binary and it wants an interpreter that isn't on your system. maybe you're using an x86_64 (64-bit) distro, but the prebuilt is for x86 (32-bit). you can determine whether this is the answer by opening a terminal and attempting to execute it directly. or by runningbut I don't see there how can I solve my problemonfile -L
(to get your default/native format) and on the compiler itself (to see what format it is)./bin/sh
Bruno_
01/27/2020, 6:51 PMlibtinfo.so.5: cannot open shared object file: No such file or directory
Bruno_
01/27/2020, 6:55 PMAndreas Jost
01/28/2020, 9:21 AM