LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   -lavdevice not found (https://www.linuxquestions.org/questions/programming-9/lavdevice-not-found-4175441900/)

manoj7410 12-17-2012 11:01 PM

-lavdevice not found
 
Hi,

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):

Code:

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

Code:

apt-get build-dep ffmpeg

knudfl 12-18-2012 07:52 AM

Quote:

I am trying to compile ffmpeg
Why ? ?
"ffmpeg" is included in Ubuntu : sudo apt-get install ffmpeg
( http://packages.ubuntu.com/quantal-updates/ffmpeg )

Quote:

-lavdevice not found.
May be it's about "libavdevice.so" :
The configure option to create shared libraries (.so) is --enable-shared
http://packages.ubuntu.com/source/quantal-updates/libav
→ 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.