-   Programming (
-   -   -lavdevice not found (

manoj7410 12-17-2012 11:01 PM

-lavdevice not found

I am trying to compile ffmpeg. included libavdevice.a but still facing -lavdevice not found.

JohnGraham 12-18-2012 07:29 AM

The central problem is that the development libraries for libavdevice aren't installed - use your package manager to do so. On Debian-based systems (such as Ubuntu, which your profile says you use) this can be done with the following (as root user):


apt-get install libavdevice-dev
Better yet, you can stall all dependencies for ffmpeg with:


apt-get build-dep ffmpeg

knudfl 12-18-2012 07:52 AM


I am trying to compile ffmpeg
Why ? ?
"ffmpeg" is included in Ubuntu : sudo apt-get install ffmpeg
( )


-lavdevice not found.
May be it's about "" :
The configure option to create shared libraries (.so) is --enable-shared
→ The red dots mark the dependencies.
$ sudo apt-get build-dep libav

Which Ubuntu version are you using ?
And which version of ffmpeg are you trying to compile ? ?


All times are GMT -5. The time now is 02:29 PM.