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): > > its...@roadstripe:/usr/local/lib$ ls libav* > libavcodec.a libavdevice.a libavformat.a libavutil.a > its...@roadstripe:/usr/local/lib$ > > > #2: I utilized the Debian packages (as found with apt-cache search libav) > > <snip> > its...@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 > its...@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
