[bug-notifications] [lua 0004651]: Dynamic shared object library location is incorrect.

Mantis Bug Tracker noreply at opencsw.org
Tue Dec 18 12:40:01 CET 2012


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4651 
====================================================================== 
Reported By:                jon
Assigned To:                dam
====================================================================== 
Project:                    lua
Issue ID:                   4651
Category:                   regular use
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-31 17:09 CET
Last Modified:              2012-12-18 12:40 CET
====================================================================== 
Summary:                    Dynamic shared object library location is incorrect.
Description: 
The shared object library location is incorrect in this executable and
should be defined as "/opt/csw". e.g. loading the lua-gd component then I
get an error such as follows:

module 'gd' not found:

        no field package.preload['gd']
        no file './gd.lua'
        no file '/usr/local/share/lua/5.1/gd.lua'
        no file '/usr/local/share/lua/5.1/gd/init.lua'
        no file '/usr/local/lib/lua/5.1/gd.lua'
        no file '/usr/local/lib/lua/5.1/gd/init.lua'
        no file './gd.so'
        no file '/usr/local/lib/lua/5.1/gd.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'

The expectation is that the shared object directory is
"/opt/csw/lib/lua/5.1" which means that LUA_ROOT in luaconf.h should be
changed from "/usr/local" to "/opt/csw". The directories
"/opt/csw/lib/lua/5.1" and "/opt/csw/share/lua/5.1" do exist in the package
install however at the moment they are not being accessed by the binary
that has been built.

BTW: Thanks for packaging it.
====================================================================== 

---------------------------------------------------------------------- 
 (0010251) dam (administrator) - 2012-12-18 12:40
 https://www.opencsw.org/mantis/view.php?id=4651#c10251 
---------------------------------------------------------------------- 
This is fixed in 5.2.1,REV=2012.12.18 and pushed to unstable/.



More information about the bug-notifications mailing list