ZM Problems with configure for libs avcodec/avformat

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
wildpossum
Posts: 38
Joined: Wed Jul 04, 2007 5:40 am
Location: Sydney - AUSTRALIA

ZM Problems with configure for libs avcodec/avformat

Post by wildpossum »

Hi.

Yep, read all the notes I can find on the site, forums, Wiki and doco.

Problem relates to configure generation:
II can't find my libavformat.a & libavcodec.a even though they are cached (ldconfig -v | grep libav proves it is seen by the system). I have installed ffmpeg-0.4.9.9152-6.2.

I have placed the libraries in /usr/local/lib and additionally into /lib. But no joy :(
Neither library is seen by the configuration process.
I tried using the extralibs directive but no go, same issue.
What to do ?

Thanks Grahame.
Grahame
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Did you insltall ffmpeg from source or RPM?
Where do you get the error in zm?
If RPM, did you install ffmpeg-dev?
If from source did you run Make install-libs?
User avatar
AmmarossDanan
Posts: 19
Joined: Tue Jul 03, 2007 10:05 pm
Location: Salt Lake, UT, US

Post by AmmarossDanan »

Yes, definately install from source. Much easier. :)

Code: Select all

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg/
./configure
make
make install
make install-libs
Ammaross Danan
Locked