Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2008, 04:30 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
how to install libeml and libmatroska?

In an attempt to get VLC player (or any media player) to play mkv files, I have downloaded libeml and libmatroska from the matroska webpage. However how do I install these two libs? I tried using make and it generates an error

root@localhost linux]# make
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../.. -I/home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../../libebml -o /home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../src/FileKax.o /home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../src/FileKax.cpp
make: g++: Command not found
make: *** [/home/prodigal/Desktop/libmatroska-0.8.1/make/linux/../../src/FileKax.o] Error 127


Old 09-05-2008, 05:48 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,696

Rep: Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290Reputation: 3290
make: g++: Command not found
Mandriva 2008 : to install 'gcc-c++' please do
command 'su' and 'urpmi gcc-c++' providing also
'g++' .

Old 09-06-2008, 09:15 AM   #3
LQ Newbie
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Originally Posted by knudfl View Post
Mandriva 2008 : to install 'gcc-c++' please do
command 'su' and 'urpmi gcc-c++' providing also
'g++' .

Thank you. I was doing urpmi g++ and no package was found. Btw, the libs did NOT help the VLC player (or any other player) to play mkv files. Only sound and no video...
Old 10-09-2008, 05:42 PM   #4
Registered: Oct 2007
Distribution: Slackware
Posts: 825

Rep: Reputation: 163Reputation: 163

The 2 libraries that you speak of (libebml and libmatroska) are requirements of mkvtoolnix which creates, alters and inspects mkv files. Thus they are not requirements to actually play the files.

A current svn release of ffmpeg will play the mkv files and also allow you to identify the different elements in the container. For example:

andrew@skamandros~/movies/matrix$ ffmpeg -i matrix.mkv 
FFmpeg version SVN-r15563, Copyright (c) 2000-2008 Fabrice Bellard, 
et al.
  configuration: --prefix=/usr --mandir=/usr/man --disable-debug 
--enable-shared --disable-static --enable-postproc --enable-avfilter
--enable-pthreads --enable-libtheora --enable-libvorbis 
--enable-swscale --enable-x11grab --enable-libmp3lame 
--enable-libxvid --enable-libx264 --enable-libschroedinger 
--enable-libamr-wb --enable-libamr-nb --enable-nonfree 
  libavutil     49.11. 0 / 49.11. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Oct  5 2008 22:21:48, gcc: 4.2.3
Input #0, matroska, from 'matrix.mkv':
  Duration: 02:11:20.44, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264, yuv420p, 720x416, 25.00 tb(r)
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.2(eng): Audio: aac, 48000 Hz, stereo, s16
Must supply at least one output file
where you will see 3 elements: a video track encoded with h264 and 2 aac audio tracks. A modern version of vlc, the svn mplayer and the svn ffplay should be able to play this type of file. You might run into trouble, as has been suggested, if you are using versions of this software supplied by your distro that have been deliberately crippled.


Last edited by andrew.46; 10-09-2008 at 05:46 PM.


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
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 04:52 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM
install suse 9.3 on a PIII system??? problems in the install screen : flickers! :( akshay_jp SUSE / openSUSE 3 09-12-2006 11:53 AM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:23 PM.

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