-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Build Failing (error: no such module 'zlib') #1031
Comments
@chrisschlitt did you find a workaround for this? |
I did not sadly, but still interested in a solution |
The same here. Any findings? |
I ended up using the URLRequest native websocket client and disabling the test cases on Linux :( (I saw other folks using WebSocketKit from Vapor but I didn't want to mix nio in) |
Mixing nio in was my exact hesitation. Interested to see how it goes removing that for their entirely rewritten websocketkit with vapor 5, but I haven’t heard any updates on that progress. |
I saw a guidance here https://github.com/apple/swift-nio-zlib-support?tab=readme-ov-file#deprecated but it needs Starscream to make some changes. |
Describe the bug
I get the following build issue on Linux in Docker:
Steps to Reproduce
I'm running
swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
when I get the errorEnvironment:
The text was updated successfully, but these errors were encountered: