Skip to content

Instantly share code, notes, and snippets.

@mikeuduc
Created August 20, 2012 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeuduc/3407713 to your computer and use it in GitHub Desktop.
Save mikeuduc/3407713 to your computer and use it in GitHub Desktop.
redis application error: file relocation error
[08/20 13:36:43 PDT] ld.so.1: node: fatal: relocation error: file /opt/haibu/apps/simplecrew/SimpleCrew/package/node_modules/redis/node_modules/hiredis/build/Release/hiredis.node: symbol redisReaderCreate: referenced symbol not found
@hlobil
Copy link

hlobil commented Aug 20, 2012

I was told to add this to package.json.

"env": {
"CXX": "/opt/local/bin/g++ -m64",
"CPPFLAGS": "-I/opt/local/include",
"LD_OPTIONS": "-L/opt/local/lib -lsocket -lnsl",
"PYTHON": "/opt/local/bin/python2.7"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment