egorFiNE/node-compress-buffer — pull request #9 by pccowboy (2013-03-14 11:53:07+00:00)
Title: Gipify update

This is an addon to the pull request to gipify. I had to add these linker instructions, running node v0.10.0, on a Centos 5.2 machine. Before I added the linker bits, I was getting the following from 'npm install .' of the previous pull request:

dswift@bunkhouse ~/node_modules/winston-graylog2/node_modules/compress-buffer$ npm install .

> compress-buffer@1.1.0 install /home/dswift/node_modules/winston-graylog2/node_modules/compr
ess-buffer
> node-gyp rebuild

make: Entering directory `/home/dswift/node_modules/winston-graylog2/node_modules/compress-bu
ffer/build'
CXX(target) Release/obj.target/compress_buffer_bindings/src/compress-buffer.o
SOLINK_MODULE(target) Release/obj.target/compress_buffer_bindings.node
SOLINK_MODULE(target) Release/obj.target/compress_buffer_bindings.node: Finished
COPY Release/compress_buffer_bindings.node
make: Leaving directory `/home/dswift/node_modules/winston-graylog2/node_modules/compress-buf
fer/build'
dswift@bunkhouse ~/node_modules/winston-graylog2/node_modules/compress-buffer$ node
> wg=require('winston-graylog2')
Error: /home/dswift/node_modules/winston-graylog2/node_modules/compress-buffer/build/Release/
compress_buffer_bindings.node: undefined symbol: deflateInit2_
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at bindings (/usr/lib/node_modules/bindings/bindings.js:76:44)
at Object. (/home/dswift/node_modules/winston-graylog2/node_modules/compress-b
uffer/index.js:1:99)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
>