andylamax
07/13/2021, 10:06 PM--allow-shlib-undefined
)?
I am getting something similar with linuxX64 target
> Task :linkDebugTestLinuxX64 FAILED
e: ~/.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/andylamax/.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/andylamax/.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: error: cannot find -lcurl
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_global_init_wrapper23: error: undefined reference to 'curl_global_init'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_slist_append_wrapper27: error: undefined reference to 'curl_slist_append'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_slist_free_all_wrapper28: error: undefined reference to 'curl_slist_free_all'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_easy_strerror_wrapper33: error: undefined reference to 'curl_easy_strerror'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_easy_init_wrapper36: error: undefined reference to 'curl_easy_init'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_easy_cleanup_wrapper38: error: undefined reference to 'curl_easy_cleanup'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_init_wrapper44: error: undefined reference to 'curl_multi_init'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_add_handle_wrapper45: error: undefined reference to 'curl_multi_add_handle'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_remove_handle_wrapper46: error: undefined reference to 'curl_multi_remove_handle'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_wait_wrapper48: error: undefined reference to 'curl_multi_wait'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_perform_wrapper51: error: undefined reference to 'curl_multi_perform'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_cleanup_wrapper52: error: undefined reference to 'curl_multi_cleanup'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_info_read_wrapper53: error: undefined reference to 'curl_multi_info_read'
/tmp/konan_temp16538792599021976265/result.o:out:function libcurl_curl_multi_strerror_wrapper54: error: undefined reference to 'curl_multi_strerror'
/tmp/konan_temp16538792599021976265/result.o:out:knifunptr_libcurl39_curl_easy_setopt: error: undefined reference to 'curl_easy_setopt'
/tmp/konan_temp16538792599021976265/result.o:out:knifunptr_libcurl42_curl_easy_getinfo: error: undefined reference to 'curl_easy_getinfo'
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':akkounts-quickbooks:linkDebugTestLinuxX64'.
> Compilation finished with errors
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at <https://help.gradle.org>
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings>
BUILD FAILED in 50s
5 actionable tasks: 1 executed, 4 up-to-date