Comments (7)
What version of Swift are you using? If you are using Swift 3.0, which snapshot?
from vapor.
swift version 3.0-dev (LLVM 699a786c15, Clang 77080f2c03, Swift d22638766e)
Target: x86_64-unknown-linux-gnu
DEVELOPMENT.SNAPSHOT.2016.03.16.a-2
from vapor.
It is relevant: https://bugs.swift.org/browse/SR-1023 ???
from vapor.
Vapor is only compatible with the 03-24
(yours is 03-16
) snapshot. I'd recommend you use https://github.com/kylef/swiftenv to manage Swift installations since that can be a source of problems.
Vapor has a special .swift-version
file included in all of its dependencies that will ensure swiftenv
uses the correct Swift version without you having to worry about it.
from vapor.
I update and the erro continue
/tmp/vapor-example>$ swift build
Compiling Swift Module 'InterchangeData' (1 sources)
Linking .build/debug/libStrand.so
Linking .build/debug/libHummingbird.so
/usr/bin/ld: /tmp/vapor-example/.build/debug/Strand.build/Strand.swift.o: relocation R_X86_64_PC32 against protected symbol _TWPO6Strand11StrandErrors13ErrorProtocolS_' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) <unknown>:0: error: link command failed with exit code 1 (use -v to see invocation) /usr/bin/ld: /tmp/vapor-example/.build/debug/Hummingbird.build/Socket.swift.o: relocation R_X86_64_PC32 against protected symbol
_Tv11Hummingbird10sockStreamVs5Int32' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
:0: error: link command failed with exit code 1 (use -v to see invocation)
:0: error: build had 2 command failures
error: exit(1): /usr/bin/swift-build-tool -f /tmp/vapor-example/.build/debug.yaml default
$ swift -version
Swift version 3.0-dev (LLVM b010debd0e, Clang 3e4d01d89b, Swift 7182c58cb2)
Target: x86_64-unknown-linux-gnu
using: swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu15.10.tar.gz
in arch linux 64 bits
from vapor.
My guess there is that Arch Linux is not yet supported by swift build
. Apple only officially supports OS X, Ubuntu 14.04, and Ubuntu 15.10.
from vapor.
Closing this for inactivity. Let me know if you need more help with this issue.
from vapor.
Related Issues (20)
- Vapor migrations do not finish running on fly.io HOT 8
- Documentation for cache HOT 5
- Unable to test vapor using .xcodeproj project HOT 8
- Response compression handler not added for HTTP2 requests
- Updating HTTP server configuration on the fly (ie. TLS settings) HOT 3
- Double encoded post requests after recent update (4.89.3 → 4.91.1) HOT 1
- UserAuthnetication middleware is bypassed when auth object is not used HOT 2
- Query decoding broken in 4.90 HOT 3
- vapor and toolbox compile error on arch linux HOT 1
- double slash in URL no longer matches route handlers HOT 3
- URI semantics are broken HOT 1
- commùit
- Double slash in URLs still breaks route matching with variable parts in vapor 4.92.0 HOT 2
- Trying to build on Ubuntu 20 with swift run and getting Building for debugging... error: emit-module command failed due to signal 9 HOT 2
- Unable to shutdown server HOT 1
- Title
- Vapor URLQueryContainer no longer supports valueless query parameters HOT 4
- Swift Vapor-Save records in Mysql JSON data type during mapping with swift get error- Could not convert MySQL data to String: <MYSQL_TYPE_JSON HOT 6
- Large, streamed request body may result in noSignalReceived preconditionFailure crash HOT 6
- Websocket shouldUpgrade() fail causes empty reply from server HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vapor.