Skip to main content

LUA Missing on Centos 5.1 server

Comments

5 comments

  • quietFinn
    You get that when you run EasyApache and enable Mod Security.
    0
  • cPanelMichael
    Hello :) Yes, please run EasyApache with Mod_Security enabled. You should see the following directory after the EasyApache build: /opt/lua/ If not, review the build log in /usr/local/cpanel/logs/easy/apache to determine if it failed to build for a specific reason. The following thread may also be of help to you: Where is LUA Thank you.
    0
  • santrix
    Done that... All I get is # tree /opt/lua/ /opt/lua/ |-- bin | |-- lua | `-- luac |-- include | |-- lauxlib.h | |-- lua.h | |-- lua.hpp | |-- luaconf.h | `-- lualib.h |-- lib | |-- liblua.a | `-- lua | `-- 5.1 |-- lib64 -> /opt/lua/lib |-- man | `-- man1 | |-- lua.1 | `-- luac.1 `-- share `-- lua `-- 5.1
    No liblua.so file. The only bits from the apache build log that even mention lua are: -- Begin step 'Checking for lua requirements' -- -- End step 'Checking for lua requirements' -- etc.. checking for liblua config script... no checking for lua install... no configure: optional lua library not found etc... and a few libtool commands.
    0
  • cPanelMichael
    Were any of the posts from the thread referenced in my last response helpful? In particular, the last post to that thread mentions a workaround that some users have found helpful. Thank you.
    0
  • santrix
    [quote="cPanelMichael, post: 1553432">Were any of the posts from the thread referenced in my last response helpful? In particular, the last post to that thread mentions a workaround that some users have found helpful. Thank you.
    Yup - used the guide [url=http://www.linuxfromscratch.org/blfs/view/svn/general/lua.html]Lua-5.2.3 However, I did have to include an extra environment tweak to get it to compile make linux MYLIBS=-lncurses For some reason ncurses was not being seen by readline so it was failing on a bunch of symbol references. All good now.
    0

Please sign in to leave a comment.