[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Undefined symbol: Lua_insert in core.so
- From: Mike Pall <mikelu-0711@...>
- Date: Wed, 7 Nov 2007 14:39:36 +0100
Hi,
Julio José Mora Salido wrote:
> I think the symbols are exported correctly. However, when I check the
> symbols in the shared library socket.so.2.0.2, 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 socket.so supposed to use? The static fragments
of libc you've linked to the main executable? The dynamic libc.so
in parallel to the static one? Another copy of the static libc?
This just cannot work ...
Bye,
Mike