You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to build Swift server on Ubuntu, but after I entered "swift build", I got some error which say that "<unknown>:0: error: symbol 'RSA_get0_key' (RSA_get0_key) is in generated IR file, but not in TBD file"
"<unknown>:0: error: please file a radar or open a bug on bugs.swift.org with this code, and add -Xfrontend -validate-tbd-against-ir=none to squash the errors"
The content of Package.swift file is as follows.
// swift-tools-version:5.2// The swift-tools-version declares the minimum version of Swift required to build this package.importPackageDescriptionletpackage = Package(
name: "FirstPerfect",
dependencies: [
// Dependencies declare other packages that this package depends on.// .package(url: /* package url */, from: "1.0.0"),
.package(name: "PerfectHTTPServer", url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", from: "3.0.2")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "FirstPerfect", dependencies: [ "PerfectHTTPServer" ]), .testTarget( name: "FirstPerfectTests", dependencies: ["FirstPerfect"]),
]
)
I've formatted the code to be more readable here. When reporting a bug, please try to format the code after pasting it so that it can be easily read and/or copy-pasted by others.
Environment
OS: Linux Ubuntu 16.04 LTS
Swift version: 5.2.5
Additional Detail from JIRA
md5: b7afa2ad1e7caf6ad964fe057b45c2ab
Issue Description:
I was trying to build Swift server on Ubuntu, but after I entered "swift build", I got some error which say that "<unknown>:0: error: symbol 'RSA_get0_key' (RSA_get0_key) is in generated IR file, but not in TBD file"
"<unknown>:0: error: please file a radar or open a bug on bugs.swift.org with this code, and add -Xfrontend -validate-tbd-against-ir=none to squash the errors"
The content of Package.swift file is as follows.
And the content of main.swift file is as follows.
Is there any body facing this issue when trying to build Perfect HTTP server on Linux?
The text was updated successfully, but these errors were encountered: