2011-12-13 5 views
3

행운과 함께 설치할 때 "node-waf configure build"를 사용하는 NodeJs 애드온이 필요합니다. 내가 시도노드 js 오류 : 공유 라이브러리를로드 할 수 없습니다.

Error: Unable to load shared library /Users/xxxx/node_modules/pdfkit/node_modules/flate/lib/zlib_bindings.node 

Error: Unable to load shared library /Users/xxxx/node_modules/rsa/rsaBinding.node 

Error: Unable to load shared library /Users/xxxx/node_modules/dcrypt/build/default/dcrypt.node 

애드온 : 나는 동일한 메시지가 계속

내가에서라도 10.6.8에있어

dcrypt, pdfkit, RSA를 nodejs v0.6.5, NPM .1.0 - 알파 - 6

답변

1

bcrypt와 동일한 문제가 발생하여 내 노드가 32 비트이고 bcrypt가 64 비트로 빌드 되었기 때문에 발견되었습니다. 64 비트 노드를 만든 후에는 모든 것이 잘 작동합니다.

0

PDFKit은 이전 flate 종속 대신에 zlib 모듈의 노드에서 내장 모듈을 사용합니다.

관련 문제