[asterisk-bugs] [JIRA] (ASTERISK-24194) Loading AST_MODFLAG_DEFAULT in pbx_lua.c causes undefined symbol error

Eric Howey (JIRA) noreply at issues.asterisk.org
Fri Aug 8 11:04:29 CDT 2014


Eric Howey created ASTERISK-24194:
-------------------------------------

             Summary: Loading AST_MODFLAG_DEFAULT in pbx_lua.c causes undefined symbol error
                 Key: ASTERISK-24194
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24194
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: PBX/pbx_lua
    Affects Versions: 11.11.0
         Environment: CentOS 6.5 x64
Linux 2.6.32-431.1.2.0.1.el6.x86_64

            Reporter: Eric Howey


--Still Updating--

When calling an outside lua library, such as lua-sql-mysql, the library fails to load. After searching on this issue, it appears to be resolved once before in ASTERISK-17279, but after looking through the changelog for 11.11.0, it was reverted back to its original setting in r416581-416668. 


ERROR[3275][C-00000001] pbx_lua.c: Error executing lua extension:
error loading module 'luasql.mysql' from file '/usr/lib64/lua/5.1/luasql/mysql.so':
        /usr/lib64/lua/5.1/luasql/mysql.so: undefined symbol: lua_getfield
stack traceback:
        [C]: ?
        [C]: in function 'require'
        dialplan/db.lua:15: in function 'open'
        dialplan/find.lua:420: in function 'pstnExten'
        dialplan/main.lua:64: in function <dialplan/main.lua:52>




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list