Re: LuaJIT and symbol versioning

  • From: Enrico Tassi <gares@xxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 16 Aug 2015 16:07:44 +0200

On Sun, Aug 16, 2015 at 10:33:34AM -0300, Soni L. wrote:

Ever heard of dlmopen()?

No, thanks for pointing that out.

But I don't see how it could solve my problem. I'm not dlopening
liblua5.1 and libluajit-5.1 by hand. Maybe I was not clear. This is
the scenario I'd like to make work:

gcc -shared l1.c -o -llua5.1
gcc -shared l2.c -o -lluajit5.1
gcc a.c -ll1 -ll2

When you run a.out, you are not dlopening Lua nor LuaJIT.

Enrico Tassi

Other related posts: