[bug-notifications] [lua 0004651]: Dynamic shared object library location is incorrect.
Mantis Bug Tracker
noreply at opencsw.org
Fri Dec 31 17:09:44 CET 2010
The following issue has been SUBMITTED.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4651
======================================================================
Reported By: jon
Assigned To:
======================================================================
Project: lua
Issue ID: 4651
Category: regular use
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
======================================================================
Date Submitted: 2010-12-31 17:09 CET
Last Modified: 2010-12-31 17:09 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.
======================================================================
More information about the bug-notifications
mailing list