vlc configure script can't find libavcode

*nix specific usage questions
yinglcs
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Dec 2006 17:04

vlc configure script can't find libavcode

Postby yinglcs » 30 Jul 2010 09:29

Hi,

I am trying to run './configure' for vlc on ubuntu 10.04. But it can't find libavcode libraries for some reason. I have check /usr/lib, it has the libraries, why ./configure can't find it?

This is the error from './configure':

checking for AVCODEC... no
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
But I already install libavcodec-div, but it still fails:

$ sudo apt-get install libavcodec-devReading package lists... Done
Building dependency tree
Reading state information... Done
libavcodec-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 201 not upgraded.
I have checked '/usr/lib', I see the libavcodec.so:

-rw-r--r-- 1 root root 7339558 2010-03-04 04:42 libavcodec.a
lrwxrwxrwx 1 root root 21 2010-06-26 00:38 libavcodec.so -> libavcodec.so.52.20.1
lrwxrwxrwx 1 root root 21 2010-05-10 22:30 libavcodec.so.52 -> libavcodec.so.52.20.1
-rw-r--r-- 1 root root 5560152 2010-03-04 04:54 libavcodec.so.52.20.1
-rw-r--r-- 1 root root 1316312 2010-03-04 04:42 libavformat.a
lrwxrwxrwx 1 root root 22 2010-06-26 00:38 libavformat.so -> libavformat.so.52.31.0
lrwxrwxrwx 1 root root 22 2010-05-10 22:30 libavformat.so.52 -> libavformat.so.52.31.0
-rw-r--r-- 1 root root 694880 2010-03-04 04:42 libavformat.so.52.31.0
-rw-r--r-- 1 root root 85164 2010-03-04 04:42 libavutil.a
lrwxrwxrwx 1 root root 20 2010-06-26 00:38 libavutil.so -> libavutil.so.49.15.0
lrwxrwxrwx 1 root root 20 2010-05-10 22:30 libavutil.so.49 -> libavutil.so.49.15.0
-rw-r--r-- 1 root root 47296 2010-03-04 04:54 libavutil.so.49.15.0
Thank you for any help.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: vlc configure script can't find libavcode

Postby Sébastien Escudier » 30 Jul 2010 10:56

Could not find libavcodec or libavutil

Did you install libavutil-dev ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15140
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc configure script can't find libavcode

Postby Rémi Denis-Courmont » 31 Jul 2010 09:51

Yes he did. That said, VLC checks the pkg-config files, not the libraries.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

coolnumber9
Blank Cone
Blank Cone
Posts: 12
Joined: 11 Jun 2010 08:36

Re: vlc configure script can't find libavcode

Postby coolnumber9 » 02 Aug 2010 08:52

I am experiencing the same problem.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests