FS#35939 - lua51-zlib linked incorrectly

Attached to Project: Community Packages
Opened by Hermann Zahnweh (eigengrau) - Wednesday, 26 June 2013, 12:17 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 26 June 2013, 13:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

lua51-zlib depends on libz, but is not linked against libz as of 0.2-6, and as such is unable to execute.

Additional info:

seb@eigengrau [ ~ ]$ ldd /usr/lib/lua/5.1/zlib.so
linux-vdso.so.1 (0x00007fffb6453000)
liblua5.1.so.5.1 => /usr/lib/liblua5.1.so.5.1 (0x00007f522722a000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f5226e7d000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f5226c79000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f522697a000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f5227664000)

Linking against libz, as intended in the upstream Makefile, resolves the issue.

Steps to reproduce:

seb@eigengrau [ ~ ]$ lua5.1 -lzlib
lua5.1: error loading module 'zlib' from file '/usr/lib/lua/5.1/zlib.so':
/usr/lib/lua/5.1/zlib.so: undefined symbol: inflate
stack traceback:
[C]: ?
[C]: ?
[C]: ?
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 26 June 2013, 13:35 GMT
Reason for closing:  Fixed

Loading...