LoginSignup
5
4

More than 5 years have passed since last update.

TwitterStream/eventmachineでエラー

Posted at

TwitterStreamを使おうと思ったらエラーになった。
遭遇した出力は以下の通り。

terminate called after throwing an instance of 'std::runtime_error'
  what():  Encryption not available on this event-machine

ググったらそこそこ引っかかったので何か特殊な問題かと思ったが、何のことはなく。
eventmachineのinstall時にSSLが有効にならなかったせいだった模様。

一旦eventmachineをuninstall後、OS側でlibssl-devパッケージをインストール。
再度eventmachineをinstallすることで回避完了。
普段あまり使ってない環境だと起こるかも?

と、せっかくなのでとりあえずなんか書いてみた。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4