[Freeswitch-users] undefined symbol: luaL_prepbuffer in lua

Michael Jerris mike at jerris.com
Fri Nov 21 20:05:29 MSK 2014


Looks like you are loading a lua module built against a different version of lua.

> On Nov 21, 2014, at 9:59 AM, 彭勇 <ppyy at pubyun.com> wrote:
> 
> freeswitch at internal> 2014-11-21 22:57:35.379103 [ERR] mod_lua.cpp:203
> error loading module 'socket.core' from file
> '/usr/lib/lua/5.1/socket/core.so':
> /usr/lib/lua/5.1/socket/core.so: undefined symbol: luaL_prepbuffer
> stack traceback:
> [C]: in ?
> [C]: in function 'require'
> /tmp/t.lua:1: in main chunk
> 
> # cat /tmp/t.lua
> require "socket.core"
> local t =require('socket').tcp
> 
> -- 
> Peng Yong




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list