lua-users home
lua-l archive

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

Am 13.02.2013 um 16:34 schrieb steve donovan:

> On Wed, Feb 13, 2013 at 5:28 PM, Mike Swingler <> wrote:
> A static library is simply included in the executable in which it is
> linked, and if you only have one, that is likely the most
> straightforward approach.
> If your program supports running Lua scripts, then beware of a
> potential problem with static linking; the linker will pull in only
> the symbols needed for the program to compile.   There may be missing
> symbols however when you try to run a script within that program.  I
> believe there are ways to force all the symbols to be included.
> So some recommend using the Lua .so when embedding...
> steve d.

I have found my mistake: I have forgot the compilerflag "LUA_COMPAT_ALL" and
the linker lib "readline"