Closed
Description
For the full discussion, see this thread in Swift Open Source Slack.
Apparently Swiftly did not automatically install libcurl4-openssl-dev
on my fresh VPS, which caused build failures when using --static-swift-stdlib
.
For the sake of search-ability if someone steps into this issue, here's also part of the error pasted here:
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: cannot find -lcurl
/root/.local/share/swiftly/toolchains/5.10.1/usr/lib/swift_static/linux/libFoundationNetworking.a(CFURLSessionInterface.c.o):CFURLSessionInterface.c:function CFURLSessionEasyCodeDescription: error: undefined reference to 'curl_easy_strerror'
I know the "find what dependencies to install" logic is not bulletproof and reads from the Dockerfiles, and that Swiftly is waiting on official ways to know what dependencies to install.
I did check the Dockerfiles, all seem to include libcurl4-openssl-dev
for Ubuntu 22.04.
Metadata
Metadata
Assignees
Labels
No labels