You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/07/21 12:15:06 UTC

[Bug 56753] New: mod_lua.so: symbol luaL_openlib: referenced symbol not found

https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

            Bug ID: 56753
           Summary: mod_lua.so: symbol luaL_openlib: referenced symbol not
                    found
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_lua
          Assignee: bugs@httpd.apache.org
          Reporter: petr.sumbera@oracle.com

Created attachment 31837
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31837&action=edit
Possible fix.

When built with Lua 5.2.1:

httpd: Syntax error on line 129 of /etc/apache2/2.4/httpd.conf: Cannot load
libexec/mod_lua.so into server: ld.so.1: httpd: fatal: relocation error: file
/usr/apache2/2.4/libexec/mod_lua.so: symbol luaL_openlib: referenced symbol not
found

I have attached patch file which seems to fix the issue. The patch is based on
bellow info:

http://lua-users.org/wiki/CompatibilityWithLuaFive

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #7 from Petr Sumbera <pe...@oracle.com> ---
Not sure I can add -DLUA_COMPAT_MODULE to our Solaris Lua version we have there
for several years now.

Anyway for short term I will need to use the patch I proposed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

Daniel Gruno <hu...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Daniel Gruno <hu...@apache.org> ---
Hmmmm, I use 5.2.2 in production with mod_lua, and it compiles just fine :)
Can you check that you don't have a 5.1 installation as well, as that may be
messing up the linking. Or it may be that they changed the compatibility in
5.2.2 - I do remember some things being broken in 5.2.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #9 from Petr Sumbera <pe...@oracle.com> ---
You are right. We are forcing our CLFAGS here:

https://hg.java.net/hg/solaris-userland~gate/file/3a68667fe366/components/lua/patches/4.src.Makefile.patch

Thanks for looking at it!

And anyway can we change this bug to adopt mod_lua to new Lua API? :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #8 from Rainer Jung <ra...@kippdata.de> ---
I checked again. At least Lua 5.2.3 (and likely also 5.2.2 and 5.2.1) use
-DLUA_COMPAT_ALL in their Makefile *by default*:

...
CC= gcc
CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)
...

They say you have to adopt according to your needs, but by default
compatibility is used. So you might have switched to a more non-default build
and thus ran into the problem.

Regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #6 from Rainer Jung <ra...@kippdata.de> ---
OK, sorry, I should have double checked: I'm also compiling lua itself with the
additional define LUA_COMPAT_ALL. It will add the missing symbol to the
library. We should probably document that requirement and work on getting rid
of the old calls which do not exist by default in lua 5.2, now that 5.2 exists
since more than 2 years.

Summary: You need to compile lua itself and also mod_lua with -DLUA_COMPAT_ALL.
It might also be possible to only use -DLUA_COMPAT_MODULE but I never tried
that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #10 from Rainer Jung <ra...@kippdata.de> ---
All proposed changes are straightforward, except for the handling of

lua_apr.c: luaL_register(L, "apr_table", lua_table_methods);

I didn't find any use of "apr_table" in code or docs. So we probably replace it
by NULL and handle as proposed in the patch.

Another change would be to switch from lua_objlen to lua_rawlen in
lua_request.c and define the latter in terms of the former in mod_lua.h for
LUA_VERSION_NUM <= 501.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #3 from Rainer Jung <ra...@kippdata.de> ---
Are you building against a shared lua library, or a static one?

The symbol for luaL_openlib should be in the library you build against, e.g.
this is my output on Solaris when using a shared lua library:

% nm ..../lib/liblua.so | grep luaL_openlib
[998]   |    110180|     160|FUNC |GLOB |0    |9      |luaL_openlib
[993]   |    148228|     128|FUNC |GLOB |0    |9      |luaL_openlibs

The first one is the symbol we are interested in. It is defined in the library
(this case lua 5.2.3 but the same is true at least for 5.1.4, 5.2.1 and 5.2.2).

If you don't know which lua lib is used during runtime, check your
LD_LIBRARY_PATH and use "ldd ..../mod_lua.so". It is possible, that you are not
building against a shared lua lib and instead use static linking, which I do
not use.

The only known problem with that symbol was not during runtime, but during
compile time. It is only available in the include files if LUA_COMPAT_MODULE is
defined. But our mod_lua.h already defines LUA_COMPAT_ALL, which in turn
defines  LUA_COMPAT_MODULE in luaconf.h.

Maybe your mod_lua.so is dynamically linked against liblua, but does not
contain an entry for liblua dependency, so that it doesn't load liblua?

What does ldd .../mod_lua.so say?

What does (assuming Solaris) elfdump -d .../mod_lua.so say?

What is the output of

nm mod_lua.so | grep lua | grep -v ap_lua_ | grep -v lua_ap_

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #5 from Petr Sumbera <pe...@oracle.com> ---
So the problem is that our liblua was build without -DLUA_COMPAT_ALL.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

--- Comment #4 from Petr Sumbera <pe...@oracle.com> ---
(In reply to Rainer Jung from comment #3)
> Are you building against a shared lua library, or a static one?

Shared.

> The symbol for luaL_openlib should be in the library you build against, e.g.
> this is my output on Solaris when using a shared lua library:
> 
> % nm ..../lib/liblua.so | grep luaL_openlib
> [998]   |    110180|     160|FUNC |GLOB |0    |9      |luaL_openlib
> [993]   |    148228|     128|FUNC |GLOB |0    |9      |luaL_openlibs

On my system (S12 development build) where is 5.2.1 (and tested with 5.2.2 too)
I have:

nm /usr/lib/amd64/liblua.so | grep luaL_openlib
[607]   |              283824|                 190|FUNC |GLOB |0    |18    
|luaL_openlibs

Where on S11 where is still 5.1.4 it's ok:

$ nm /usr/lib/amd64/liblua.so | grep luaL_openlib
[419]   |              259480|                 926|FUNC |GLOB |0    |16    
|luaL_openlib
[367]   |              319420|                  89|FUNC |GLOB |0    |16    
|luaL_openlibs

> The first one is the symbol we are interested in. It is defined in the
> library (this case lua 5.2.3 but the same is true at least for 5.1.4, 5.2.1
> and 5.2.2).
> 
> If you don't know which lua lib is used during runtime, check your
> LD_LIBRARY_PATH and use "ldd ..../mod_lua.so". It is possible, that you are
> not building against a shared lua lib and instead use static linking, which
> I do not use.
> 
> The only known problem with that symbol was not during runtime, but during
> compile time. It is only available in the include files if LUA_COMPAT_MODULE
> is defined. But our mod_lua.h already defines LUA_COMPAT_ALL, which in turn
> defines  LUA_COMPAT_MODULE in luaconf.h.

There is only onw Lua on system.

> Maybe your mod_lua.so is dynamically linked against liblua, but does not
> contain an entry for liblua dependency, so that it doesn't load liblua?
> 
> What does ldd .../mod_lua.so say?

$ ldd /usr/apache2/2.4/libexec/mod_lua.so 
        liblua.so =>     /usr/lib/64/liblua.so
        libc.so.1 =>     /lib/64/libc.so.1
        libm.so.2 =>     /lib/64/libm.so.2

> What does (assuming Solaris) elfdump -d .../mod_lua.so say?

$ elfdump -d /usr/apache2/2.4/libexec/mod_lua.so

Dynamic Section:  .dynamic
    index  tag             value  
      [0]  POSFLAG_1       0x1      [ LAZY ]
      [1]  NEEDED          0x23be   liblua.so
      [2]  NEEDED          0x239b   libc.so.1
      [3]  SONAME          0x1      mod_lua.so
      [4]  HASH            0x3440   
      [5]  STRTAB          0x7220   
      [6]  STRSZ           0x25c8   
      [7]  SYMTAB          0x5408   
      [8]  SYMENT          0x18     
      [9]  SUNW_SYMTAB     0x3e78   
     [10]  SUNW_SYMSZ      0x33a8   
     [11]  SUNW_SORTENT    0x4      
     [12]  SUNW_SYMSORT    0x9aa0   
     [13]  SUNW_SYMSORTSZ  0x414    
     [14]  CHECKSUM        0x6446   
     [15]  VERNEED         0x97e8   
     [16]  VERNEEDNUM      0x1      
     [17]  RELACOUNT       0x8b     
     [18]  PLTRELSZ        0x1a40   
     [19]  PLTREL          0x7      
     [20]  JMPREL          0xaf20   
     [21]  RELA            0x9eb8   
     [22]  RELASZ          0x2aa8   
     [23]  RELAENT         0x18     
     [24]  SYMINFO         0x2f38   
     [25]  SYMINSZ         0x504    
     [26]  SYMINENT        0x4      
     [27]  SUNW_CAP        0x158    
     [28]  FLAGS           0        0
     [29]  FLAGS_1         0x100    [ DIRECT ]
     [30]  SUNW_STRPAD     0x200    
     [31]  SUNW_LDMACH     0x3e     EM_AMD64
     [32]  PLTGOT          0x35000  
  [33-43]  NULL            0       

> What is the output of
> 
> nm mod_lua.so | grep lua | grep -v ap_lua_ | grep -v lua_ap_

/usr/apache2/2.4/libexec/mod_lua.so:
[40]    |               70144|                 657|FUNC |LOCL |0    |18    
|cfg_lua_map_handler
[275]    |              137408|                  16|FUNC |LOCL |0    |18    
|cleanup_lua
[329]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_addlstring
[401]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_buffinit
[540]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_checkany
[411]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_checkinteger
[307]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_checklstring
[425]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_checktype
[547]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_checkudata
[356]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_error
[555]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_gsub
[504]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_loadbufferx
[461]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_loadfilex
[526]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_newmetatable
[449]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_newstate
[453]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_openlib
[447]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_openlibs
[325]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_optinteger
[403]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_optlstring
[533]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_optnumber
[513]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|luaL_pushresult
[94]    |               86784|                  22|FUNC |LOCL |0    |18    
|lua_access_checker_harness
[93]    |               86752|                  22|FUNC |LOCL |0    |18    
|lua_access_checker_harness_first
[95]    |               86816|                  22|FUNC |LOCL |0    |18    
|lua_access_checker_harness_last
[32]    |                   0|                   0|FILE |LOCL |0    |ABS   
|lua_apr.c
[201]    |              105360|                 207|FUNC |LOCL |0    |18    
|lua_apr_b64decode
[200]    |              105136|                 215|FUNC |LOCL |0    |18    
|lua_apr_b64encode
[211]    |              107568|                 128|FUNC |LOCL |0    |18    
|lua_apr_date_parse_rfc
[206]    |              106320|                 517|FUNC |LOCL |0    |18    
|lua_apr_htpassword
[204]    |              105888|                 144|FUNC |LOCL |0    |18    
|lua_apr_md5
[208]    |              107040|                 177|FUNC |LOCL |0    |18    
|lua_apr_mkdir
[209]    |              107232|                 177|FUNC |LOCL |0    |18    
|lua_apr_mkrdir
[210]    |              107424|                 136|FUNC |LOCL |0    |18    
|lua_apr_rmdir
[205]    |              106032|                 276|FUNC |LOCL |0    |18    
|lua_apr_sha1
[207]    |              106848|                 189|FUNC |LOCL |0    |18    
|lua_apr_touch
[97]    |               86880|                  22|FUNC |LOCL |0    |18    
|lua_auth_checker_harness
[96]    |               86848|                  22|FUNC |LOCL |0    |18    
|lua_auth_checker_harness_first
[98]    |               86912|                  22|FUNC |LOCL |0    |18    
|lua_auth_checker_harness_last
[133]    |               91408|                1696|FUNC |LOCL |0    |18    
|lua_authz_check
[132]    |               91104|                 298|FUNC |LOCL |0    |18    
|lua_authz_parse
[135]    |              221392|                  16|OBJT |LOCL |0    |21    
|lua_authz_provider
[383]    |              221600|                   8|OBJT |GLOB |0    |22    
|lua_authz_providers
[86]    |               86528|                  22|FUNC |LOCL |0    |18    
|lua_check_user_id_harness
[549]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_checkstack
[561]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_close
[415]    |              219728|                1200|OBJT |GLOB |0    |20    
|lua_commands
[38]    |                   0|                   0|FILE |LOCL |0    |ABS   
|lua_config.c
[562]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_createtable
[384]    |              146672|                2300|FUNC |GLOB |0    |18    
|lua_db_acquire
[560]    |              141008|                 161|FUNC |GLOB |0    |18    
|lua_db_active
[483]    |              140528|                 300|FUNC |GLOB |0    |18    
|lua_db_close
[398]    |              141488|                 287|FUNC |GLOB |0    |18    
|lua_db_escape
[589]    |              140832|                 169|FUNC |GLOB |0    |18    
|lua_db_gc
[551]    |              141776|                1162|FUNC |GLOB |0    |18    
|lua_db_get_row
[296]    |              145600|                 587|FUNC |GLOB |0    |18    
|lua_db_prepare
[494]    |              146192|                 467|FUNC |GLOB |0    |18    
|lua_db_prepared
[584]    |              144688|                 905|FUNC |GLOB |0    |18    
|lua_db_prepared_query
[556]    |              143536|                1140|FUNC |GLOB |0    |18    
|lua_db_prepared_select
[479]    |              141184|                 298|FUNC |GLOB |0    |18    
|lua_db_query
[586]    |              142944|                 592|FUNC |GLOB |0    |18    
|lua_db_select
[281]    |                   0|                   0|FILE |LOCL |0    |ABS   
|lua_dbd.c
[539]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_dump
[530]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_error
[90]    |               86656|                  22|FUNC |LOCL |0    |18    
|lua_fixup_harness
[249]    |              118320|                 149|FUNC |LOCL |0    |18    
|lua_get_cookie
[410]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_getfield
[559]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_getglobal
[424]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_getinfo
[558]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_getstack
[528]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_gettable
[457]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_gettop
[72]    |               74512|                 998|FUNC |LOCL |0    |18    
|lua_handler
[75]    |               77744|                1031|FUNC |LOCL |0    |18    
|lua_input_filter_handle
[99]    |               86944|                   6|FUNC |LOCL |0    |18    
|lua_insert_filter_harness
[327]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_isnumber
[485]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_isstring
[247]    |              117056|                 318|FUNC |LOCL |0    |18    
|lua_ivm_get
[591]    |              221584|                   8|OBJT |GLOB |0    |22    
|lua_ivm_mutex
[248]    |              117376|                 930|FUNC |LOCL |0    |18    
|lua_ivm_set
[593]    |              221568|                   8|OBJT |GLOB |0    |22    
|lua_ivm_shm
[293]    |              221592|                   8|OBJT |GLOB |0    |22    
|lua_ivm_shmfile
[335]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_load
[100]    |               86960|                  19|FUNC |LOCL |0    |18    
|lua_log_transaction_harness
[78]    |               81296|                2576|FUNC |LOCL |0    |18    
|lua_map_handler
[77]    |               81088|                 193|FUNC |LOCL |0    |18    
|lua_map_handler_fixups
[91]    |               86688|                  22|FUNC |LOCL |0    |18    
|lua_map_to_storage_harness
[395]    |              219616|                 104|OBJT |GLOB |0    |20    
|lua_module
[350]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_newthread
[348]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_newuserdata
[67]    |               72976|                  67|FUNC |LOCL |0    |18    
|lua_open_callback
[68]    |               73056|                  70|FUNC |LOCL |0    |18    
|lua_open_hook
[74]    |               76432|                1311|FUNC |LOCL |0    |18    
|lua_output_filter_handle
[287]    |                   0|                   0|FILE |LOCL |0    |ABS   
|lua_passwd.c
[588]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pcallk
[141]    |               93808|                 478|FUNC |LOCL |0    |18    
|lua_post_config
[140]    |               93760|                  34|FUNC |LOCL |0    |18    
|lua_pre_config
[553]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushboolean
[497]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushcclosure
[330]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushfstring
[472]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushinteger
[338]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushlightuserdata
[432]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushlstring
[313]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushnil
[469]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushnumber
[499]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushstring
[587]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_pushvalue
[101]    |               86992|                  35|FUNC |LOCL |0    |18    
|lua_quick_harness
[428]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_rawgeti
[302]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_rawlen
[545]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_rawset
[600]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_rawseti
[144]    |               94880|                 699|FUNC |LOCL |0    |18    
|lua_register_hooks
[147]    |                   0|                   0|FILE |LOCL |0    |ABS   
|lua_request.c
[139]    |               93744|                  16|FUNC |LOCL |0    |18    
|lua_request_hook
[76]    |               78784|                2304|FUNC |LOCL |0    |18    
|lua_request_rec_hook_harness
[364]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_resume
[250]    |              118480|                1540|FUNC |LOCL |0    |18    
|lua_set_cookie
[423]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_setfield
[569]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_setglobal
[419]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_setmetatable
[397]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_settable
[402]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_settop
[73]    |               75520|                 911|FUNC |LOCL |0    |18    
|lua_setup_filter_ctx
[131]    |              219592|                   8|OBJT |LOCL |0    |20    
|lua_ssl_is_https
[130]    |              219600|                   8|OBJT |LOCL |0    |20    
|lua_ssl_val
[35]    |               69264|                 111|FUNC |LOCL |0    |18    
|lua_table_get
[36]    |              220992|                  48|OBJT |LOCL |0    |21    
|lua_table_methods
[33]    |               68864|                 391|FUNC |LOCL |0    |18    
|lua_table_set
[521]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_toboolean
[379]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_tointegerx
[381]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_tolstring
[525]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_tonumberx
[557]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_topointer
[391]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_touserdata
[88]    |               86592|                  22|FUNC |LOCL |0    |18    
|lua_translate_name_harness
[87]    |               86560|                  22|FUNC |LOCL |0    |18    
|lua_translate_name_harness_first
[89]    |               86624|                  22|FUNC |LOCL |0    |18    
|lua_translate_name_harness_last
[422]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_type
[92]    |               86720|                  22|FUNC |LOCL |0    |18    
|lua_type_checker_harness
[316]    |                   0|                   0|FUNC |GLOB |0    |UNDEF 
|lua_typename
[274]    |                   0|                   0|FILE |LOCL |0    |ABS   
|lua_vmprep.c
[255]    |              125168|                 146|FUNC |LOCL |0    |18    
|lua_websocket_close
[251]    |              120032|                 717|FUNC |LOCL |0    |18    
|lua_websocket_greet
[252]    |              120752|                 162|FUNC |LOCL |0    |18    
|lua_websocket_peek
[256]    |              125328|                 564|FUNC |LOCL |0    |18    
|lua_websocket_ping
[253]    |              120928|                3628|FUNC |LOCL |0    |18    
|lua_websocket_read
[254]    |              124560|                 594|FUNC |LOCL |0    |18    
|lua_websocket_write
[63]    |                   0|                   0|FILE |LOCL |0    |ABS   
|mod_lua.c
[1]    |                   0|                   0|FILE |LOCL |0    |ABS   
|mod_lua.so
[127]    |               90336|                 167|FUNC |LOCL |0    |18    
|register_lua_codecache
[126]    |               90160|                 167|FUNC |LOCL |0    |18    
|register_lua_inherit
[129]    |               90992|                  36|FUNC |LOCL |0    |18    
|register_lua_root
[128]    |               90512|                 478|FUNC |LOCL |0    |18    
|register_lua_scope
[65]    |               72640|                 329|FUNC |LOCL |0    |18    
|report_lua_error
[149]    |               96848|                 387|FUNC |LOCL |0    |18    
|req_aprtable2luatable_cb
[276]    |              137424|                  24|FUNC |LOCL |0    |18    
|server_cleanup_lua

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56753] mod_lua.so: symbol luaL_openlib: referenced symbol not found

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56753

Petr Sumbera <pe...@oracle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Petr Sumbera <pe...@oracle.com> ---
No. There is no Lua 5.1 on build system.

It compiles just fine. The problem occurs when Apache is started with mod_lua.

I have quickly built Lua 5.2.2. There is the same problem when I built and
execute Apache with this Lua version (no change against Lua 5.2.1).

Note that you can see how we build Lua here:
https://hg.java.net/hg/solaris-userland~gate/file/81f9a60cccb1/components/lua

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org