Failed to build and run on Fedora 34 x64
tomisacat opened this issue · comments
Describe the bug
Following instructions on Install on Linux, and build project with vapor build
, the console outputs:
[0/878] Compiling tls_record.cc
VaporToolbox/exec.swift:55: Fatal error: result 1
Illegal instruction (core dumped)
To Reproduce
Steps to reproduce the behavior:
- Install Swift with
dnf install swift
- Install Vapor Toolbox
- Create new project(
vapor new hello
) and switch to the directory(cd hello
) - Build:
vapor build
Expected behavior
Build succeed.
Environment
- Vapor Framework version: 4.48.5
- Vapor Toolbox version: main (7575fe2)
- OS version: Linux vapor 5.11.12-300.fc34.x86_64 GNU/Linux
Using swift build
instead, the outputs point out zlib not found
. Install zlib and build again it worked.