Bug 530492

Summary: error loading module 'lpeg' from file '/usr/lib64/lua/5.1/lpeg.so':
Product: [Fedora] Fedora Reporter: Chris Weyl <cweyl>
Component: lua-lpegAssignee: Tim Niemueller <tim>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 11CC: tim
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-11 20:42:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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