Re: [libdl / C/C++ modules] free(): invalid pointer
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [libdl / C/C++ modules] free(): invalid pointer
- From: "Alex Queiroz" <asandroq@...>
- Date: 2006年12月27日 09:41:11 -0200
Hallo,
On 12/27/06, Rici Lake <lua@ricilake.net> wrote:
On 26-Dec-06, at 9:40 PM, Mildred wrote:
> My compilation commands :
>
> $ g++ -g -shared luamod.cpp -llua -lm -o luamod.so
> $ gcc -g testlua.c -ldl -llua -lm -o testlua
My guess is that you're ending up with two instances of liblua. That
won't work.
There is a nice page in the wiki for this:
http://lua-users.org/wiki/BuildingModules
--
-alex
http://www.ventonegro.org/