[swift-users] swift build linking / Ubuntu
Dmitri Gribenko
gribozavr at gmail.com
Thu Dec 3 13:40:22 CST 2015
On Thu, Dec 3, 2015 at 11:33 AM, Matt Kolb <kolb722 at gmail.com> wrote:
> mak at nibbler ~/Documents/github/mkolb/Hello
> % swift build -v
> /home/mak/Documents/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10/usr/bin/swiftc -o /home/mak/Documents/github/mkolb/Hello/.build/debug/Hello /home/mak/Documents/github/mkolb/Hello/.build/debug/Hello.o/Sources/main.swift.o -L/usr/local/lib <unknown>:0: error: link command failed with exit code 127 (use -v to see invocation)
> <unknown>:0: error: build had 1 command failures swift-build: exit(1): ["/home/mak/Documents/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10/usr/bin/swift-build-tool", "-v", "-f", "/home/mak/Documents/github/mkolb/Hello/.build/debug/Hello.o/llbuild.yaml"]
>
> Being brand new to this toolchain, and being as the archives are empty, I figured I'd post this question. Thanks for any help!
Hi Matt,
Please install the dependencies and try again:
$ sudo apt-get install git cmake ninja-build clang uuid-dev libicu-dev
icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig
libpython-dev libncurses5-dev pkg-config
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the swift-users
mailing list