Alex Dmitriev
01/23/2024, 11:53 AM> Task :linkDebugExecutableNativeLinuxX64
e: /home/runner/.konan/dependencies/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2/x86_64-unknown-linux-gnu/bin/ld.gold invocation reported errors
The /home/runner/.konan/dependencies/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2/x86_64-unknown-linux-gnu/bin/ld.gold command returned non-zero exit code: 1.
output:
/usr/lib/x86_64-linux-gnu/libtinfo.so: error: undefined reference to 'stat', version 'GLIBC_2.33'
/usr/lib/x86_64-linux-gnu/libncurses.so.6: error: undefined reference to 'dlopen', version 'GLIBC_2.34'
/usr/lib/x86_64-linux-gnu/libncurses.so.6: error: undefined reference to 'dlclose', version 'GLIBC_2.34'
/usr/lib/x86_64-linux-gnu/libncurses.so.6: error: undefined reference to 'dlsym', version 'GLIBC_2.34'
> Task :linkDebugExecutableNativeLinuxX64 FAILED
Apparently, glibc bundled with Kotlin Native toolchain (2.19 in x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2
) is of lower version than might be required (GLIBC_2.33
).
Any clues on how to resolve that would be welcome. Thanks!Adam S
01/23/2024, 2:28 PMAdam S
01/23/2024, 2:45 PMAlex Dmitriev
01/24/2024, 5:45 AMx86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2
) with one that has glibc 2.34, not sure how this can be done.
I’ve also filed an issue for the Kotlin team, for reference.Artyom Gornostayev
01/24/2024, 9:58 AMArtyom Gornostayev
01/24/2024, 9:59 AMAlex Dmitriev
01/24/2024, 3:54 PMcurl
version which is happy with current CLang toolchain which Konan uses nowadays. Probably I can also play with versions of NCurses needed for my case. Thanks for clues!