=ERROR REPORT==== 24-Dec-2013::17:01:43 ===
The on_load function for module erlzmq_nif returned {error,
{load_failed,
"Failed to load NIF library: './ebin/../priv/erlzmq_drv.so: ELF file OS ABI invalid'"}}
发布到不同环境的服务器时报上面的错误,解决方案记录下,以备查:
重新编译erlzmq库
git clone https://github.com/zeromq/erlzmq2.git
cd erlzmq2
make
然后把ebin下的*.beam文件COPY到项目的ebin目录
把priv目录COPY到项目的priv