-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib/lua/5.1 is hardcoded in places #27
Comments
All references to lib/lua/5.1 are now configurable through the luarocks.cfg mechanisms. |
Sorry for the noise.
Works for me. |
Though the fix is not complete: Care to reopen? |
Yes, it uses lib_modules_path from cfg.lua, but that is overrideable in config.lua as well. I'll keep #83 as valid, but lib/lua/5.1 is not hardcoded (it's just an overrideable defult). |
Yes! exactly. Again, sorry for the noise.
Works for me, even with --tree option. |
I just started playing with luarocks a few days ago and hit this problem, so consider me a luarocks noob. Your reply above using lib_modules_path certainly works for me, but when I first hit this problem a couple of days ago, I had thought the way to fix this was to change the definition of LUA_LIBDIR in the site_config.lua file from "/usr/lib" to "/usr/lib64". However, that approach didn't work. Hisham, could you comment on whether this approach should have worked or not? |
No, they are different things. LUA_LIBDIR is the place where the shared library of the Lua interpreter is supposed to be. lib_modules_path is the path fragment for where Lua modules written in C should be installed to. |
Sounds like (also) changing LUA_LIBDIR to "/usr/lib64" on x86_64 is still a correct thing to do; it just doesn't address this problem, right? I think I follow your explanation. That's why this variable is called "LUA_LIBDIR" rather than something like "LUAROCKS_LIBDIR". |
If your liblua_.so_ is there, then yes. |
This prevents LuaRocks from installing cleanly in 64-bit systems that use lib64/ (and this will have to be changed anyway when LR gets support for Lua 5.2).
Related info: http://article.gmane.org/gmane.comp.lang.lua.luarocks/2415/
The text was updated successfully, but these errors were encountered: