[asterisk-bugs] [Asterisk 0018671]: [patch] Command 'module load pbx_lua.so' failed

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 4 09:59:27 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18671 
====================================================================== 
Reported By:                Igels
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   18671
Category:                   PBX/pbx_lua
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.8.2.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-25 02:35 CST
Last Modified:              2011-03-04 09:59 CST
====================================================================== 
Summary:                    [patch] Command 'module load pbx_lua.so' failed
Description: 
AstiMile*CLI> module load pbx_lua.so
Unable to load module pbx_lua.so
Command 'module load pbx_lua.so' failed.
[Jan 25 11:23:25] ERROR[18899]: pbx_lua.c:1434 load_or_reload_lua_stuff:
Error loading extensions.lua: error loading module 'luasql.mysql' from file
'/usr/lib/lua/5.1/luasql/mysql.so':
        /usr/lib/lua/5.1/luasql/mysql.so: undefined symbol: lua_getfield
AstiMile*CLI> /usr/lib/lua/5.1/luasql/mysql.so: undefined symbol:
lua_getfield
====================================================================== 

---------------------------------------------------------------------- 
 (0132644) svnbot (reporter) - 2011-03-04 09:59
 https://issues.asterisk.org/view.php?id=18671#c132644 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 309448

U   branches/1.8/pbx/pbx_lua.c

------------------------------------------------------------------------
r309448 | mnicholson | 2011-03-04 09:59:26 -0600 (Fri, 04 Mar 2011) | 8
lines

Export global symbols from pbx_lua to allow modules to be loaded.  Fixes a
regression introduced in r278132.

(closes issue https://issues.asterisk.org/view.php?id=18671)
Reported by: Igels
Patches:
      pbx_lua_global_symbols1.diff uploaded by mnicholson (license 96)
Tested by: Igels

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=309448 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-04 09:59 svnbot         Checkin                                      
2011-03-04 09:59 svnbot         Note Added: 0132644                          
======================================================================




More information about the asterisk-bugs mailing list