[swift-users] statically link the standard library on Linux
drew at sealedabstract.com
Sat Feb 13 21:54:26 CST 2016
Whenever I update the installed Linux snapshot, my binaries break, with errors of the form:
[programname]: symbol lookup error: [programname]: undefined symbol: _TFOs7Processau9argumentsGSaSS_
I assume this is the standard library symbol Process.arguments (which is used in my program).
I guess this is because the standard library is not statically linked/embedded in this executable. This happens by default on OSX, but I guess might not on Linux.
Is that a bug?
Is there a way to force statically link the standard library on Linux, so my binaries work without a recompile each new snapshot?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users