Giter Site home page Giter Site logo

Comments (10)

adamof avatar adamof commented on August 18, 2024 13

In case anyone else is seeing this on os X, I was able to install the library by specifying the following paths to openssl libs:

CPPFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" gem install rdkafka

The values are taken from the brew post-installation message of openssl (brew install openssl)

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024 1

Thanks for that! I'm considering adding some platform detection logic to set sensible defaults like this.

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024

Looks like the compile process is having trouble locating OpenSSL. Are you using OpenSSL 1.0? How did you install it?

We still need to do some work on installation instructions.

from rdkafka-ruby.

lephyrius avatar lephyrius commented on August 18, 2024

@thijsc I installed it using Homebrew.
It is this version:

openssl: stable 1.0.2o (bottled) [keg-only]
SSL/TLS cryptography library
https://openssl.org/
/usr/local/Cellar/openssl/1.0.2o_1 (1,791 files, 12.3MB)
  Poured from bottle on 2018-03-30 at 07:54:14
/usr/local/Cellar/openssl/1.0.2o_2 (1,792 files, 12.3MB)
  Poured from bottle on 2018-06-25 at 11:21:24

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024

Are any of the tips here helpful?
confluentinc/librdkafka#1639

It’s not really in the scope of this gem to handle this. But i would like to add some error handling with debug output and hints on what to do. If you can do a bit of digging that would be very good input.

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024

@lephyrius did you make progress on this?

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024

Closing until more information is added here.

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024

@lephyrius I might have fixed this in #61. Could you test by https://github.com/appsignal/rdkafka-ruby#development in that branch?

from rdkafka-ruby.

thijsc avatar thijsc commented on August 18, 2024

Closing this for now, hopefully #61 improves things. If not we'll reopen.

from rdkafka-ruby.

jvanbaarsen avatar jvanbaarsen commented on August 18, 2024

@thijsc I had the same problem today. The fix from @adamof solved it for me.
-- edit: I just realize that the fix you mentioned above is not yet deployed, so that was the reason I had to use the work-around.

from rdkafka-ruby.

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.