[Asterisk-video] Help install app_mp4.c with Asterisk 1.4.6 and Centos 5.0 Part II

dwita loveme dwitaloveme at yahoo.com
Fri Jul 13 21:35:26 CDT 2007


hi,

i got the same problem several months ago.
it seems the mpeg4ip lib is not installed correctly.
as a tips, i succeed with these steps:

1. install mpeg4ip first (when you execute configure
script, there will be alert some libraries (ffmpeg,
faac, xvidcore, etc) is not installed yet). in my
assumption this is better than ./configure
--disable-player or --disable-server (you will need
them to use mp4creator mp4dump and another mpeg4ip
tools)

2. edit /etc/ld.so.conf.d/ld.conf (in my path, try to
locate ld.so.conf). append /usr/local/lib to the
bottom of file

3. make sure you type correctly in the Makefile in the
apps directory:
app_mp4.so : app_mp4.o
<type TAB not space nor 8 spaces>$(CC) $(SOLINK) -o $@
${CYGSOLINK} $< ${CYGSOLIB} -lmp4 -lmp4v2 

4. try to recompile again :)
5. give me five !

regards,


Dwi Sasongko Supriyadi
--- Andre Gustavo Lomonaco <lomonaco at easybyte.com.br>
wrote:

> 
> Hi,
> 
> Sorry for post two e-mails with the same problem in
> the list, but I got more information about my
> problem when I
> try to execute mp4play or mp4save.
> 
>  When I run asterisk without forking (asterisk -f -v
> -d -c) I got the following errors
> 
>  mp4play => 
> 
>  asterisk: symbol lookup error:
> /usr/lib/asterisk/modules/app_mp4.so: undefined
> symbol: MP4CreateEx
>  
>  mp4save =>
> 
>  asterisk: symbol lookup error:
> /usr/lib/asterisk/modules/app_mp4.so: undefined
> symbol: MP4Read
> 
>  Here my ldconfig
>  
>  ldconfig -v | grep mp4
>  libmp4av.so.0 -> libmp4av.so.0.0.0
>  libmp4.so.0 -> libmp4.so.0.0.0
>  libmp4v2.so.0 -> libmp4v2.so.0.0.0
>  libmp4v2.so.0 -> libmp4v2.so.0.0.0
> 
>  The only step in Sergio´s tutorial which I didn´t 
> was the change in apps\makefile
> 
>   app_mp4.so : app_mp4.o
>   $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}
> -lmp4 -lmp4v2 
> 
>  When I try do that in Asterisk 1.4.6 I receive an
> error during the make process
> 
>  Sorry again if my post was inappropriate and I will
> apreciate any tip
> 
>   My Best Regards,
> 
>    Andre Lomonaco
> > _______________________________________________
> --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>   
http://lists.digium.com/mailman/listinfo/asterisk-video



       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/



More information about the asterisk-video mailing list