LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2019, 02:46 PM   #1
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 164

Rep: Reputation: Disabled
VLC build error


I am trying to build VLC from Slackbuilds, but unfortunately it is failing at missing libebml.la file. I have libebml installed from slackbuilds but it seems that it doesn't ship .la file.

Code:
  CC       demux/avi/libavi.lo
  CCLD     libavi_plugin.la
  CC       demux/caf.lo
  CCLD     libcaf_plugin.la
  CC       demux/directory.lo
  CCLD     libdirectory_demux_plugin.la
  CC       demux/mpeg/es.lo
  CCLD     libes_plugin.la
  CC       demux/mpeg/h26x.lo
  CC       packetizer/h264_nal.lo
  CCLD     libh26x_plugin.la
  CXX      demux/mkv/libmkv_plugin_la-util.lo
  CXX      demux/mkv/libmkv_plugin_la-virtual_segment.lo
  CXX      demux/mkv/libmkv_plugin_la-matroska_segment.lo
  CXX      demux/mkv/libmkv_plugin_la-matroska_segment_parse.lo
  CXX      demux/mkv/libmkv_plugin_la-matroska_segment_seeker.lo
  CXX      demux/mkv/libmkv_plugin_la-demux.lo
demux/mkv/demux.cpp:452:97: warning: unused parameter 'b_initial' [-Wunused-parameter]
 bool demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, matroska_stream_c *p_stream1, bool b_initial )
                                                                                                 ^
  CXX      demux/mkv/libmkv_plugin_la-Ebml_parser.lo
  CXX      demux/mkv/libmkv_plugin_la-chapters.lo
  CXX      demux/mkv/libmkv_plugin_la-chapter_command.lo
  CXX      demux/mkv/libmkv_plugin_la-stream_io_callback.lo
  CC       demux/mp4/libmkv_plugin_la-libmp4.lo
  CXX      demux/mkv/libmkv_plugin_la-mkv.lo
  CC       packetizer/libmkv_plugin_la-dts_header.lo
  CXXLD    libmkv_plugin.la
/bin/grep: /usr/lib64/libebml.la: No such file or directory
/bin/sed: can't read /usr/lib64/libebml.la: No such file or directory
libtool:   error: '/usr/lib64/libebml.la' is not a valid libtool archive
Makefile:15328: recipe for target 'libmkv_plugin.la' failed
make[4]: *** [libmkv_plugin.la] Error 1
make[4]: Leaving directory '/tmp/SBo/vlc-3.0.6/modules'
Makefile:26254: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/vlc-3.0.6/modules'
Makefile:11314: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/SBo/vlc-3.0.6/modules'
Makefile:1539: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/vlc-3.0.6'
Makefile:1424: recipe for target 'all' failed
make: *** [all] Error 2
Any idea how to fix?
 
Old 01-21-2019, 04:06 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,974

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Are you using current?
Make sure to delete all .la files and rebuild all deps before rebuilding vlc
 
Old 01-22-2019, 03:51 AM   #3
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 164

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
Are you using current?
Make sure to delete all .la files and rebuild all deps before rebuilding vlc
No, it is 14.2. Remove .la files where?
 
Old 01-22-2019, 08:26 AM   #4
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 92

Rep: Reputation: 16
Quote:
Originally Posted by horizn View Post
No, it is 14.2. Remove .la files where?
What willysr meant is that you will have to remove the .la files only if you are running current.
 
Old 01-22-2019, 10:01 AM   #5
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 164

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MDKDIO View Post
What willysr meant is that you will have to remove the .la files only if you are running current.
So what is the solution for 14.2?
 
Old 01-22-2019, 10:16 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,810

Rep: Reputation: Disabled
Quote:
Originally Posted by horizn View Post
So what is the solution for 14.2?
I think the error you got during the compilation of vlc is because some dependency of vlc (most probably libmatroska) uses libebml.la.
I would try removing libmatroska, rebuilding it and reinstalling it.
then try again to build vlc.
 
1 members found this post helpful.
Old 01-22-2019, 11:42 AM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,575

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by horizn View Post
I am trying to build VLC from Slackbuilds, but unfortunately it is failing at missing libebml.la file. I have libebml installed from slackbuilds but it seems that it doesn't ship .la file.

Code:
  CC       demux/avi/libavi.lo
  CCLD     libavi_plugin.la
  CC       demux/caf.lo
  CCLD     libcaf_plugin.la
  CC       demux/directory.lo
  CCLD     libdirectory_demux_plugin.la
  CC       demux/mpeg/es.lo
  CCLD     libes_plugin.la
  CC       demux/mpeg/h26x.lo
  CC       packetizer/h264_nal.lo
  CCLD     libh26x_plugin.la
  CXX      demux/mkv/libmkv_plugin_la-util.lo
  CXX      demux/mkv/libmkv_plugin_la-virtual_segment.lo
  CXX      demux/mkv/libmkv_plugin_la-matroska_segment.lo
  CXX      demux/mkv/libmkv_plugin_la-matroska_segment_parse.lo
  CXX      demux/mkv/libmkv_plugin_la-matroska_segment_seeker.lo
  CXX      demux/mkv/libmkv_plugin_la-demux.lo
demux/mkv/demux.cpp:452:97: warning: unused parameter 'b_initial' [-Wunused-parameter]
 bool demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, matroska_stream_c *p_stream1, bool b_initial )
                                                                                                 ^
  CXX      demux/mkv/libmkv_plugin_la-Ebml_parser.lo
  CXX      demux/mkv/libmkv_plugin_la-chapters.lo
  CXX      demux/mkv/libmkv_plugin_la-chapter_command.lo
  CXX      demux/mkv/libmkv_plugin_la-stream_io_callback.lo
  CC       demux/mp4/libmkv_plugin_la-libmp4.lo
  CXX      demux/mkv/libmkv_plugin_la-mkv.lo
  CC       packetizer/libmkv_plugin_la-dts_header.lo
  CXXLD    libmkv_plugin.la
/bin/grep: /usr/lib64/libebml.la: No such file or directory
/bin/sed: can't read /usr/lib64/libebml.la: No such file or directory
libtool:   error: '/usr/lib64/libebml.la' is not a valid libtool archive
Makefile:15328: recipe for target 'libmkv_plugin.la' failed
make[4]: *** [libmkv_plugin.la] Error 1
make[4]: Leaving directory '/tmp/SBo/vlc-3.0.6/modules'
Makefile:26254: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/vlc-3.0.6/modules'
Makefile:11314: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/SBo/vlc-3.0.6/modules'
Makefile:1539: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/vlc-3.0.6'
Makefile:1424: recipe for target 'all' failed
make: *** [all] Error 2
Any idea how to fix?
Have you tried Alien Bob's precompiled VLC package? I know that doesn't really answer your question on the compilation error, but if you just want VLC, try this package. It has everything you need built in.

Code:
http://bear.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/vlc2/pkg64/14.2/vlc2-2.2.8-x86_64-2alien.txz
 
Old 01-22-2019, 12:13 PM   #8
Ian M
LQ Newbie
 
Registered: Oct 2017
Posts: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
I think the error you got during the compilation of vlc is because some dependency of vlc (most probably libmatroska) uses libebml.la.
I would try removing libmatroska, rebuilding it and reinstalling it.
then try again to build vlc.
I had this same error building vlc recently and this did the trick, I think I rebuilt libebml as well.
 
Old 01-22-2019, 12:20 PM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,546

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Quote:
Originally Posted by Daedra View Post
Have you tried Alien Bob's precompiled VLC package? I know that doesn't really answer your question on the compilation error, but if you just want VLC, try this package. It has everything you need built in.

Code:
http://bear.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/vlc2/pkg64/14.2/vlc2-2.2.8-x86_64-2alien.txz
You link to a rather old 2.x version of VLC.
I also have a package for the latest 3.0.6: https://slackware.nl/people/alien/re..._64-1alien.txz
 
Old 01-22-2019, 12:24 PM   #10
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,575

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by Alien Bob View Post
You link to a rather old 2.x version of VLC.
I also have a package for the latest 3.0.6: https://slackware.nl/people/alien/re..._64-1alien.txz
Yeah I know, he said 14.2 and I just figured since he seems like he might be new I would spare him the extra dependencies required for 3.0.6. lol
 
Old 01-22-2019, 12:36 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,546

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Quote:
Originally Posted by Daedra View Post
Yeah I know, he said 14.2 and I just figured since he seems like he might be new I would spare him the extra dependencies required for 3.0.6. lol
He wants 3.0.6. Not 2.x.
 
Old 01-22-2019, 12:42 PM   #12
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,575

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by Alien Bob View Post
He wants 3.0.6. Not 2.x.
Fair enough, I know 3.0.6 is the newest version and that is what if offered over at SBo. I was just trying to get the guy going, so I made my reply short and to the point. Next time I will be more thorough in my response.
 
Old 01-22-2019, 01:33 PM   #13
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 164

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Daedra View Post
Yeah I know, he said 14.2 and I just figured since he seems like he might be new I would spare him the extra dependencies required for 3.0.6. lol
I used to have Alien's VLC, but it stopped working after upgrade to 3.0.6 so I started digging and decided to build it from source. Unfortunately it didn't work, so I'll try to rebuild libmatroska first.
 
Old 01-22-2019, 02:23 PM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,546

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Quote:
Originally Posted by horizn View Post
I used to have Alien's VLC, but it stopped working after upgrade to 3.0.6
Perhaps you can elaborate on that, so I can point you to a way to get this working again.
What was the download URL for this VLC 3.0.6 package? What version of VLC did you have installed before? What was the exact error that you get when running this vlc binary?
Did you install all of the required dependencies on Slackware 14.2 from my repository (libinput, libwacom, libxkbcommon, qt5, qt5-webkit)?
 
Old 01-22-2019, 03:07 PM   #15
horizn
Member
 
Registered: Jan 2015
Location: UK and Poland
Distribution: Slackware + Debian + Ubuntu
Posts: 164

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
I think the error you got during the compilation of vlc is because some dependency of vlc (most probably libmatroska) uses libebml.la.
I would try removing libmatroska, rebuilding it and reinstalling it.
then try again to build vlc.
That helped. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
[SOLVED] alienBOB's vlc keeps stoping build with this error... irgunII Slackware 14 11-19-2013 12:15 AM
Installing VLC using vlc-0.9.9a-4.el5.rf.i386.rpm--Error relating to Dependencies redhat5 Linux - Newbie 1 12-17-2009 04:23 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration