From 0833549572ee3d2b6029b5038ab8a09cda7cccc3 Mon Sep 17 00:00:00 2001 From: "Robert G. Jakabosky" Date: Sat, 26 Mar 2011 01:09:37 -0700 Subject: [PATCH] Added note about compiling Lua with -pthread flag --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e33a6f5..6bf74d5 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Lua bindings to zeromq2. Installation ============ +It is recommended to either compile Lua with the "-pthread" flag or preload libpthread.so on Linux when using this module ([See this glibc bug report](http://sourceware.org/bugzilla/show_bug.cgi?id=10652): + $ LD_PRELOAD=/lib/libpthread.so lua + With LuaRocks 2.0.4.1: $ sudo luarocks install https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-zmq-scm-1.rockspec