[bug-notifications] [lua 0004651]: Dynamic shared object library location is incorrect.
Mantis Bug Tracker
noreply at opencsw.org
Tue Dec 18 09:41:24 CET 2012
The following issue has been ASSIGNED.
Reported By: jon
Assigned To: dam
Issue ID: 4651
Category: regular use
Date Submitted: 2010-12-31 17:09 CET
Last Modified: 2012-12-18 09:41 CET
Summary: Dynamic shared object library location is incorrect.
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