Giter Site home page Giter Site logo

Comments (8)

edoardocomar avatar edoardocomar commented on July 29, 2024

looks like the Bluemix CF environment you are pushing to is missing libsasl2-dev

which is unexpected ... what Bluemix environment is that you're pushing to ?

you may try to checkout an older version
where we had to package prebuilt node-rdkafka binaries
https://github.com/ibm-messaging/message-hub-samples/tree/849a42d4d77e77e48a5c2934eefa93af7a832a38

from event-streams-samples.

AbhishekKaura25 avatar AbhishekKaura25 commented on July 29, 2024

@edoardocomar Thanks !! I will try this option

from event-streams-samples.

edoardocomar avatar edoardocomar commented on July 29, 2024

@AbhishekKaura25 in which bluemix env did you encounter the issue ??

from event-streams-samples.

hungtv55 avatar hungtv55 commented on July 29, 2024

I'm using dedicated Bluemix and it is failing to build node-rdkafka with SASL

#include <sasl/sasl.h>
       compilation terminated.
       ../deps/librdkafka/src/rdkafka_sasl_cyrus.c:39:23: fatal error: sasl/sasl.h: No such file or directory
       ^
       make: *** [Release/obj.target/librdkafka/deps/librdkafka/src/rdkafka_sasl_cyrus.o] Error 1
       make: Leaving directory `/tmp/app/node_modules/node-rdkafka/build'````
Perhaps Bluemix dedicated still miss `libsasl2-dev`

from event-streams-samples.

mimaison avatar mimaison commented on July 29, 2024

@hungtv55 which bluemix environment are you using ?

from event-streams-samples.

hungtv55 avatar hungtv55 commented on July 29, 2024

@mimaison : I'm sorry for late reply. Here is info of our dedicated Bluemix version:

   "name": "Bluemix",
   "build": "235026",
   "support": "http://ibm.com",

Btw, we found a solution for this issue by using multiple buildpacks (apt + nodejs buildpack). In Apt file of apt buildpack, you can add libsasl2-dev to install this library in Bluemix container.

from event-streams-samples.

vg00095 avatar vg00095 commented on July 29, 2024

@hungtv55 I am having the same issue with one of the dedicated environments at the moment. Could you describe your solution, please? Thanks!

from event-streams-samples.

mimaison avatar mimaison commented on July 29, 2024

All dedicated environments have been updated. This should not be an issue anymore

from event-streams-samples.

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.