napperley
05/09/2021, 4:19 AM> Task :linkRandom_numDebugExecutableLinuxX64 FAILED
3 actionable tasks: 3 executed
e: /home/napperley/.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/napperley/.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:
/home/napperley/libsodium-1.0.18/lib/libsodium.so: error: undefined reference to 'getentropy', version 'GLIBC_2.25'
/home/napperley/libsodium-1.0.18/lib/libsodium.so: error: undefined reference to '__explicit_bzero_chk', version 'GLIBC_2.25'
/home/napperley/libsodium-1.0.18/lib/libsodium.so: error: undefined reference to 'getrandom', version 'GLIBC_2.25'
I have tried nearly all forms of C library linking (except for statically linking the user ver of the libsodium lib), which includes the following:
• Statically linking the system ver of the lib
• Dynamically linking the system ver of the lib
• Dynamically linking the user ver of the libsergey.bogolepov
05/11/2021, 6:09 AM-Xoverride-konan-properties="linker.linux_x64=/home/napperley/.konan/dependencies/clang-llvm-8.0.0-linux-x86-64/bin/ld.lld"
Related discussion: https://youtrack.jetbrains.com/issue/KT-43501sergey.bogolepov
05/11/2021, 6:13 AMnapperley
05/11/2021, 7:31 AMnapperley
06/19/2021, 3:05 AMnapperley
06/19/2021, 3:20 AM