#7462: vlc fails to work with lua if not compiled with -DLUA_COMPAT_5_1
--------------------+-------------------------
 Reporter:  timtas  |      Owner:  blfs-book@…
     Type:  defect  |     Status:  new
 Priority:  low     |  Milestone:  7.9
Component:  BOOK    |    Version:  SVN
 Severity:  minor   |   Keywords:
--------------------+-------------------------
 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.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/7462>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to