You should delete the build directory and rebuild everything from scratch. Heka uses it own copy of Lua libluasb.so (this was recently renamed to avoid any conflicts with an 'real' Lua installation). Please run 'ldd' against lpeg.so and verify the module is linked to the correct library. You should see something like this libluasb.so.0 => /usr/lib/libluasb.so.0. You will not want to mix and match shared libraries from different builds at this transitional point.
Thanks, Trink On Thu, Apr 16, 2015 at 8:03 AM, M GS <[email protected]> wrote: > I should add that the same issue comes up when I try to run tests locally > with "make tests", so it seems I screwed up my environment somehow. > > > ---------- Forwarded message ---------- > From: M GS <[email protected]> > Date: Thu, Apr 16, 2015 at 7:08 AM > Subject: Building Heka > To: [email protected] > > > Hi all, > > We recently started making go plugins requiring us to rebuilding Heka, > having some trouble after installing a deb made with "make deb" > > 2015/04/16 14:00:14 Decoder 'proc_stat-proc_stat_decoder' error: Init() > error loading module 'lpeg' from file '/usr/share/heka/lua_modules/lpeg.so': > /usr/share/heka/lua_modules/lpeg.so: undefined symbol: luaL_setfuncs > > Is it a problem with my lua environment? > > ~ $ lua -v > Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio > > The other thing is if i keep /usr/share/heka/lua_modules/ from the > standard release deb things continue to work. I am building the deb on > ubuntu like this: > > ~ $ source build.sh > # write code in external/[plugin-name] and include it in > cmake/plugin_loader.cmake > ~ $ make && make deb > > Thanks! > > PS: i think it only affects lpeg, I dont see any other errors. > > > _______________________________________________ > Heka mailing list > [email protected] > https://mail.mozilla.org/listinfo/heka > >
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

