Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20382 - [lua-zlib] Wrong installation path
Attached to Project:
Community Packages
Opened by Thomas Jost (Schnouki) - Thursday, 05 August 2010, 16:14 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 11 August 2010, 08:53 GMT
Opened by Thomas Jost (Schnouki) - Thursday, 05 August 2010, 16:14 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 11 August 2010, 08:53 GMT
|
DetailsThe lua-zlib packages installs its zlib.so file in /usr/share/lua/5.1. The correct path for a .so would be /usr/lib/lua/5.1, because lua only looks for .lua files in /usr/share/lua and .so files in /usr/lib/lua.
(The upstream source tree has the correct path in Makefile, but not in CMakeLists.txt...) At the moment, lua can't even use this package: $ lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > require('zlib') stdin:1: module 'zlib' not found: no field package.preload['zlib'] no file './zlib.lua' no file '/usr/share/lua/5.1/zlib.lua' no file '/usr/share/lua/5.1/zlib/init.lua' no file '/usr/lib/lua/5.1/zlib.lua' no file '/usr/lib/lua/5.1/zlib/init.lua' no file './zlib.so' no file '/usr/lib/lua/5.1/zlib.so' no file '/usr/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' stdin:1: in main chunk [C]: ? > (This also breaks the compression module of Prosody, which is how I found this bug in the first place). Changing the path in the PKGBUILD fixes the problem. |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Wednesday, 11 August 2010, 08:53 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in lua-zlib-0-2
Wednesday, 11 August 2010, 08:53 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in lua-zlib-0-2