https://bz.apache.org/bugzilla/show_bug.cgi?id=65349

            Bug ID: 65349
           Summary: mod_lua luajit is undefined symbol: luaopen_jit
           Product: Apache httpd-2
           Version: 2.4.47
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_lua
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I installed luajit 2.0 and luajit 2.1 in the test. The compilation parameters
are as follows


LUA_ LIBS="-L/usr/local/lib -lluajit-51 -lm"
LUA_ CFLAGS="-I/usr/local/include/luajit-2.1"


./configure --prefix=/www/server/apache --enable-lua --with-lua=/usr
--enable-luajit



The final error is as follows:


start apache... httpd: Syntax error on line 501 of
/www/server/apache/conf/httpd.conf: Syntax error on line 1 of
/www/server/apache/conf/test.conf: Cannot load modules/mod_ lua.so into server:
/www/server/apache/modules/mod_ lua.so: undefined symbol: luaopen_ jit



I don't know if it is incompatible with luajit2.0 and luajit2.1



Refer to the config.M4 file and find that there is no problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to