Bug 530492 - error loading module 'lpeg' from file '/usr/lib64/lua/5.1/lpeg.so':
Summary: error loading module 'lpeg' from file '/usr/lib64/lua/5.1/lpeg.so':
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lua-lpeg
Version: 11
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Tim Niemueller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-23 05:16 UTC by Chris Weyl
Modified: 2010-02-11 20:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-11 20:42:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Weyl 2009-10-23 05:16:10 UTC
Since the latest update lua-lpeg was pulled in, running "yum update" generates:

error: lua script failed: error loading module 'lpeg' from file '/usr/lib64/lua/5.1/lpeg.so':
   /usr/lib64/lua/5.1/lpeg.so: undefined symbol: lua_getmetatable


This is with lua-lpeg-0.9-2.fc11.x86_64.

Comment 1 Tim Niemueller 2009-10-23 07:43:18 UTC
That is strange. I don't see this here, having installed lua-lpeg since July when the update was released. lpeg.so is indeed not linked to the Lua lib, as it is only dlopened from within Lua.

Can you please:
- describe in which state of yum update the problem occurs

- check what happens if you load the module in Lua, try something like:
# lua -e 'require("lpeg"); for k,v in pairs(lpeg) do print(k, tostring(v)) end'
This should print a number of functions from the module.

- Try to re-install lua-lpeg if that solves the problem

- Check what pulled in lua-lpeg with
# rpmbuild --whatrequires lua-lpeg


Note You need to log in before you can comment on or make changes to this bug.