[Bug 1424602] Re: Unable do load lua-rrd, no rrd.so exists

Daniel Silverstone dsilvers at digital-scurf.org
Tue Feb 24 13:25:44 UTC 2015


The fundamental misunderstanding here is in thinking of the rrd.so as a
shared library -- it is not a shared library, it is a module.

The ABI which the object exports is irrelevant because in reality it
cannot change that ABI without failing to be loaded by Lua 5.1.  The
presence of the 5.1 in the file path encodes that ABI dependency.

Lua dynamically loads the modules in question at runtime in general,
though it is possible to statically (or dynamically) link them to an
application which contains an interpreter, that simply isn't done in
general.

Consider how dh_lua splits the contents of the foo and foo-dev packages
(use lua-rex-pcre and lua-rex-pcre-dev as examples if you wish) and try
to follow that approach.

I hope this helps to clarify the issue and helps the maintainer of
rrdtool's source fix the lua rrd package appropriately.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to rrdtool in Ubuntu.
https://bugs.launchpad.net/bugs/1424602

Title:
  Unable do load lua-rrd, no rrd.so exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rrdtool/+bug/1424602/+subscriptions



More information about the Ubuntu-server-bugs mailing list