FS#45704 - [lua-sec] ssl.so: undefined symbol: luaL_optint
Attached to Project:
Community Packages
Opened by Ivan Agarkov (kreon) - Sunday, 19 July 2015, 00:03 GMT
Last edited by Anatol Pomozov (anatolik) - Sunday, 19 July 2015, 21:24 GMT
Opened by Ivan Agarkov (kreon) - Sunday, 19 July 2015, 00:03 GMT
Last edited by Anatol Pomozov (anatolik) - Sunday, 19 July 2015, 21:24 GMT
|
Details
Description:
lua-sec's ssl.so doesn't work with latest lua package. Rebuilding from https://github.com/brunoos/luasec fixes this problem. Additional info: lua: 5.3.1-1 lua-sec: 1:0.5-3 Steps to reproduce: [kreon@xaron ~]$ sudo pacman -Sy lua-sec :: Synchronizing package databases... core 121.6 KiB 746K/s 00:00 [#######################################################################] 100% extra 1743.7 KiB 3.17M/s 00:01 [#######################################################################] 100% community 2.7 MiB 2.44M/s 00:01 [#######################################################################] 100% multilib 125.9 KiB 220K/s 00:01 [#######################################################################] 100% resolving dependencies... looking for conflicting packages... Packages (2) lua-socket-3.0rc1-7 lua-sec-1:0.5-3 Total Installed Size: 0.29 MiB :: Proceed with installation? [Y/n] y (2/2) checking keys in keyring [#######################################################################] 100% (2/2) checking package integrity [#######################################################################] 100% (2/2) loading package files [#######################################################################] 100% (2/2) checking for file conflicts [#######################################################################] 100% (2/2) checking available disk space [#######################################################################] 100% (1/2) installing lua-socket [#######################################################################] 100% (2/2) installing lua-sec [#######################################################################] 100% [kreon@xaron ~]$ lua -lssl lua: error loading module 'ssl.core' from file '/usr/lib/lua/5.3/ssl.so': /usr/lib/lua/5.3/ssl.so: undefined symbol: luaL_optint stack traceback: [C]: in ? [C]: in function 'require' /usr/share/lua/5.3/ssl.lua:7: in main chunk [C]: in function 'require' [C]: in ? |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Sunday, 19 July 2015, 21:24 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.5-4
Sunday, 19 July 2015, 21:24 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.5-4
Update your entire system and see if the problem goes away.
It's just a proof I use latest package. System update can't fix that problem until lua-sec is builded with wrong lua version.
You can try it yourself.
Same bug for another lua package: https://bugs.archlinux.org/task/45043
Don't claim me an idiot who doesn't know the linux basics.