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

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jul 16 01:42:48 CDT 2007


Thats basically how it got it working too.

You can also use "ldd" to find out if all the needed libraries are 
available, e.g.:

~# ldd /usr/lib/asterisk/modules/app_mp4.so
         libmp4.so.0 => /usr/local/lib/libmp4.so.0 (0xb7f01000)
         libmp4v2.so.0 => /usr/local/lib/libmp4v2.so.0 (0xb7e20000)
         libc.so.6 => /lib/tls/libc.so.6 (0xb7ceb000)
         libdl.so.2 => /lib/tls/libdl.so.2 (0xb7ce8000)
         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7c2e000)
         libm.so.6 => /lib/tls/libm.so.6 (0xb7c0c000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c03000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

there shouldn't be any missing libraries reported.

dwita loveme wrote:
> 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

after editing do not forget to execute "ldconfig" once.

regards
klaus



> 
> 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/
> 
> _______________________________________________
> --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



More information about the asterisk-video mailing list