I was trying to compile vim for CentOS 7 with LuaJit support. The script that I used for installation is located here, https://gist.github.com/lambdalisue/01996ca7877f72b860b2
When I run vim in my terminal I get the following message vim: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory I searched where the library is located and found it in /usr/local/lib/libluajit-5.1.so.2. Decided to look through the ./configure output and found the following line in vim/src/auto/config.status: S["LUA_LIBS"]="-L/usr/lib -lluajit-5.1" Just in case logged the output of a ./configure. Here is what I got: checking --with-lua-prefix argument... no checking LUA_PREFIX environment var... not set, default to /usr checking --with-luajit... yes checking for luajit... (cached) /usr/local/bin/luajit checking LuaJIT version... (cached) 2.0 checking Lua version of LuaJIT... (cached) 5.1 checking if lua.h can be found in /usr/include/luajit-2.0... checking if lua.h can be found in /usr/include... yes checking if link with -L/usr/lib -lluajit-5.1 is sane... yes It looks like is saying that it can find luajit-5.1 lib in /usr/lib but it is actually not there. Is this a ./configure failure or I'm doing something wrong? -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
