Starscream icon indicating copy to clipboard operation
Starscream copied to clipboard

In amazon ec2 linux don't work, error: no such module 'zlib'

Open zhtut opened this issue 3 years ago • 3 comments

Question

A description of what you want to know.

Environment:

  • OS/Version: [e.g. amazon ec2]
  • Starscream Version [e.g. 4.0.4]
  • Xcode version [e.g. 11.5]

/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib' import zlib

i had install zlib in my aws linux, how to resolve this issue

zhtut avatar Sep 05 '21 11:09 zhtut

Having the exact same issue!

anonymouz4 avatar Nov 25 '21 19:11 anonymouz4

I'm using websocket-kit now and it works fine

zhtut avatar Nov 26 '21 09:11 zhtut

SSWebsocket Refer to this Using URLSessionWebsocket on MAC, you can use globle proxy, only available on MAC, Linux does not have this API Use Websocket-kit on Linux

zhtut avatar Nov 26 '21 09:11 zhtut