Comments (10)
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.
Thanks for that! I'm considering adding some platform detection logic to set sensible defaults like this.
from rdkafka-ruby.
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.
@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.
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.
@lephyrius did you make progress on this?
from rdkafka-ruby.
Closing until more information is added here.
from rdkafka-ruby.
@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.
Closing this for now, hopefully #61 improves things. If not we'll reopen.
from rdkafka-ruby.
@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)
- Post-fork initialization crash due to libcurl dynamic load from a fork HOT 4
- Use the existing background thread to refresh metadata state for partition key usage HOT 1
- Partition cache caches invalid nil result for `PARTITIONS_COUNT_TTL`
- Optimize `partition_count` iterating on big set of topics
- Use multi-producer topics partitions count cache
- Consider defaults alter on producer due to potential DDOS HOT 1
- how to configure oauthbearer token refresh HOT 5
- Background logger stops working after forking causing memory leaks HOT 7
- Modernize producers thread usage via `rd_kafka_queue_cb_event_enable`
- Move delivery handles opaque storage to producer instances
- RD_KAFKA_RESOURCE_PATTERN_UNKNOWN is not mapped in ACLs
- Expose minilibs regexp matcher for end-to-end regexp behavior testing HOT 1
- Modernize logger pipeline to make it instance based
- Name threads
- Support per-topic producer configuration alterations
- kafka ssl no longer works with fluentd v1.16.4 and above HOT 4
- Backport Admin Describe and Alter configs API HOT 1
- Update librdkafka to 2.4.0 HOT 2
- Handle `rd_kafka_topic_new` errors via `rd_kafka_last_error` instead of ignoring
- Support nextgen rebalance protocol (KIP 848)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdkafka-ruby.