> I need lua to use the flag RTLD_GLOBAL Why? See the discussion below, which was about RTLD_LAZY but applies to RTLD_GLOBAL as well: http://lua-users.org/lists/lua-l/2004-09/msg00516.html http://lua-users.org/lists/lua-l/2004-09/msg00484.html --lhf