lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Julio José Mora Salido wrote:
> I think the symbols are exported correctly. However, when I check the
> symbols in the shared library, lua_insert is declared as
> "Undefined". Now I'm completely lost. Any help would be appreciate.

This is not a Lua problem. Static linking is incompatible with
the use of dlopen() and the dynamic symbol pool. Either link
_everything_ statically or _everything_ dynamically.

Umm, and ... assuming for a moment that mixed linkage would work:
which libc is the supposed to use? The static fragments
of libc you've linked to the main executable? The dynamic
in parallel to the static one? Another copy of the static libc?
This just cannot work ...