zhangyuanwei / node-images

Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Nodejs
https://npmjs.org/package/images
MIT License
1.55k stars 204 forks source link

Uncaught Error: Can't load the addon. #75

Closed chengaomin closed 5 years ago

chengaomin commented 8 years ago

试了node 5.x和6.x,都会这样。求帮助啊 \node_modules\images\binding.js:61 Uncaught Error: Can't load the addon.

sp42 commented 8 years ago

v4.4.4 Centos v6.7 Error: Can't load the addon. Issue to: https://github.com/zhangyuanwei/node-images/issues Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/zhangxin/node4/bin/node_modules/images/bindings/linux/x64/4.0.0/binding.node)

oxUnd commented 8 years ago

改 library_path 吧,不过此类问题解决起来蛮麻烦的。

oxUnd commented 8 years ago

可能最后还是得自己编译一把

sp42 commented 8 years ago

是的 自己编译 根据 http://www.cnblogs.com/wxpjimmy/p/4018718.html 这里的一步步走

yaoleo commented 8 years ago

楼上大大们是怎么解决的?!