[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "Invalid free()" with C extension on OS X
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 15 Feb 2011 18:23:14 -0200
> Maybe I shouldn't be linking against Lua at this point -- since the lua
> binary is already linked against it, maybe I'm loading Lua twice as Luiz
> suggested. But if I don't link against Lua at this point I get undefined
> reference errors (even though I'm compiling with -shared).
For OS X the incantation is "-bundle -undefined dynamic_lookup" instead of
"-shared".