Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8418349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:18:03+00:00 2026-06-10T02:18:03+00:00

How to fix hiredis compilation issue after a deployment on nodejitsu? After I deployed

  • 0

How to fix hiredis compilation issue after a deployment on nodejitsu?

After I deployed to nodejitsu I received the following error from jistu logs command.

ld.so.1: node: fatal: relocation error: file /opt/haibu/apps/<user>/<app>/package/node_modules/redis/node_modules/hiredis/build/Release/hiredis.node: symbol redisReaderCreate: referenced symbol not found
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:18:04+00:00Added an answer on June 10, 2026 at 2:18 am

    The reason why it doesn’t work out of the box is because the redis package comes bundled with hiredis, which is a C library used by redis for parsing redis code.

    Nodejitsu does not guarantee that C libraries will work out of the box because the code must be compiled on their servers, and there are no guarantees that it’ll execute the makefile in the same way as your dev environment.

    In Pavel’s solution, he overrides the CPPFLAGS and LD_OPTIONS environmental variables, which in turn force the hiredis library to compile. Unfortunately, this will adversely affect any OTHER C libraries that your package uses.

    I would recommend bundling redis with your project in the following manner:

    npm install hiredis
    npm install redis
    npm uninstall hiredis
    

    Redis will detect that you have hiredis installed, so it won’t install it as a dependency. Then, simply remove hiredis after you install redis. Redis will automatically fall back on the Javascript parser, which is a bit slower (but the team is working on improving it).

    Then, add “redis” to your bundled dependencies:

    "bundledDependencies": ["redis"]
    

    Simply jitsu deploy and you’re good to go.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please help me to fix the following odatagen issue: Command line: ./odatagen /uri=http://odata.netflix.com/v1/Catalog/ /out=/Users/sontmai/Desktop/ODatagenApp
How can I fix the following error? error: cs0016 could not write to output
How do I fix the following issue: I've tried setting the z-index of my
Following this post to fix the following error: >> ssh -vT git@github.com OpenSSH_5.6p1, OpenSSL
after the previous fix i now have a new issue. Got advised to ask
Is there a fix to the below error. When i click the command button
To fix the UITextview blue color issue for links in ios ( i want
I need to fix a issue for xss vulnerability. the code segment is below.
I can't fix this problem on my listview template: i have the error as
I fix all warnings and now I have such error in my AppDelegate Class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.