﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
7462	vlc fails to work with lua if not compiled with -DLUA_COMPAT_5_1	Tim Tassonis	Fernando de Oliveira	"When compiling and installing vlc 2.2.2 with lua 5.3.2 support according to BLFS svn , the compile went fine, but when I started vlc, I got the error:


core demux meta error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so



After some google ""research"" I found this post:

http://www.linuxquestions.org/questions/linux-from-scratch-13/vlc-and-corrupt-lua-module-errors-4175556933/


So, I recompiled lua with:


CFLAGS=' -fPIC -O2 -Wall -Wextra -DLUA_COMPAT_5_1 $(SYSCFLAGS) $(MYCFLAGS)'

make CFLAGS=""$CFLAGS"" linux




and the problem went away. (I'm quite sure there's a more elegant way to force -DLUA_COMPAT_5_1...)


Maybe this could be noted on either the lua or the vlc page.
"	defect	closed	low	7.9	BOOK	SVN	low	fixed		
