Re: configure: ffmpeg troubles

Vini <[email protected]>
Newsgroups gmane.comp.video.transcode.user
Message-ID <[email protected]>
On 3/06/2009 11:25 AM, ted morris wrote:
> 
> Greetings,
> 
> I'm trying to build transcode 1.10 on Lenny. (starting with out of box
> ./configure)
>  I always get the following error:
> 
> <snip>
> ERROR: requirement failed: cannot link against libavformat
> libavformat can be found in the following packages:
>   libavformat  http://www.ffmpeg.org/
> <snip>
> 
> I have tried two appropaches:
> 
> #1:  I've built ffmpeg from source (#define FFMPEG_VERSION "SVN-r16504").
> I made sure paths are set correctly for libavformat, and then set config
> flags
> as in:
> 
> <snip>
> 
>   *libavcodec* (FFmpeg) >= 0.4.9-pre1  http://ffmpeg.sourceforge.net/
> 
>     /related options:/
>       --with-libavcodec-prefix=PFX (/usr)
>           prefix where libavcodec is installed
>       --with-libavcodec-includes=DIR (/usr/include)
>           prefix where libavcodec headers are installed
> 
>       --with-libavcodec-libs=PFX (/usr/lib)
>           directory where libavcodec libraries are installed
>       --enable-libavcodec-static (disabled)
>           link binaries and modules statically to libavcodec
> 
> <snip>
> 
> and the libavformat library is found here (as a static build):
> 
> itslab@roadstripe:/usr/local/lib$ ls libav*
> libavcodec.a  libavdevice.a  libavformat.a  libavutil.a
> itslab@roadstripe:/usr/local/lib$
> 
> 
> #2: I utilized the Debian packages (as found with apt-cache search libav)
> 
> <snip>
> itslab@roadstripe:/usr/local/lib$ ls /usr/lib/libavform*
> /usr/lib/libavformat.a   /usr/lib/libavformat.so.52
> /usr/lib/libavformat.so  /usr/lib/libavformat.so.52.7.0
> itslab@roadstripe:/usr/local/lib$
> <snip>


You need to have be development packages with the include files. On
Fedora we have a ffmpg-XXX-devel.rpm, you will have to find the
equivalent on debian or point --with-libavcodec-includes= to the source
code.

Let me know if you still have problems.

Vini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.