unable to load locally compiled libraries.

Task Info (Flyspray)
Opened By Alissa (AlissaSquared)
Task ID 45210
Type Feature Request
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2015-06-05 02:33:00 UTC
Status Assigned
Assignee Anatol Pomozov (anatolik)
Assignee Caleb Maclennan (alerque)

Details

Description:

Program lua unable to load libraries when libraries are self-compiled or installed to /usr/local/.

Additional info:

Many libraries are not installed directly to /usr/; however, they are instead installed to /usr/local/, due to the fact most authors of libraries expect them to be self-compiled and therefore belong in /usr/local/. However, this represents a problem when a user tries to load a library from there without setting the path directly before starting the interpreter, as the default path when Lua is installed on the system doesn't include /usr/local/. Lua should be able to check /usr/local/lib/ along with /usr/lib/ for libraries installed by the user.

https://www.archlinux.org/packages/extra/x86_64/lua/ version 5.3.0-2

Steps to reproduce:

Locally compile a library, such as LuaFileSystem, nstall to /usr/local/lib/lua/5.3 as per the instructions in Makefile, and attempt to load.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information