Giter Site home page Giter Site logo

Comments (6)

tarcieri avatar tarcieri commented on August 14, 2024

I've seen this issue reported once before and I haven't been able to reproduce it, even on the same Ruby versions.

Can you tell me what version of Ruby you were using and a little more about your environment?

from cool.io.

graaff avatar graaff commented on August 14, 2024

Ah, I see what is going on here. On Gentoo we now have -Wl,--no-undefined in our standard ruby LDFLAGS, both for forward compatibility with ruby 1.9 and to let mix-and-match problems with our multiple supported ruby implementations fail early. This is what triggers the error, since the ossl_raise symbol (and the others) are unknown at link time but resolved at runtime by ruby loading openssl.so.

I can easily fix this on the Gentoo side for rev, but this may still be an issue for ruby 1.9 support. I'll leave the issue open if you want to investigate that, but feel free to close it.

from cool.io.

tarcieri avatar tarcieri commented on August 14, 2024

On the Ruby 1.9 side, 1.9.2 has native support for non-blocking SSL. I'm afraid my hacks to support it on 1.8.x are brittle due to this problem, and I think the only solution is to discontinue support for SSL on 1.8.x.

from cool.io.

graaff avatar graaff commented on August 14, 2024

I've added rev as a supported package in Gentoo so that we can work around our own --no-undefined feature for it. If people are running Gentoo and run into this issue then please tell them to install the Gentoo package instead.

from cool.io.

tarcieri avatar tarcieri commented on August 14, 2024

I think the best solution may be to split off SSL support into its own gem. There's already the openssl-nonblock gem... I'd like to make a rev-ssl gem which uses this.

from cool.io.

tarcieri avatar tarcieri commented on August 14, 2024

cool.io-ssl is now split off into its own gem

from cool.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.