[Asterisk-video] app_transcoder.so: undefined symbol: avcodec_init

Rene van Weert rvweert at gmail.com
Fri Sep 7 07:26:37 CDT 2007


Dear Klaus,

I had indeed some errors in that makefile. Thanks for your help. I
recompiled and now everything is working!

Cheers,
René


On 9/6/07, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
>
> this is what I get:
>
> ldd /usr/lib/asterisk/modules/app_transcoder.so
>         libavcodec.so.51 => /usr/local/lib/libavcodec.so.51 (0xb7a68000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7932000)
>         libavutil.so.49 => /usr/local/lib/libavutil.so.49 (0xb7928000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7906000)
>         libz.so.1 => /usr/lib/libz.so.1 (0xb78f4000)
>         libamrnb.so.2 => /usr/local/lib/libamrnb.so.2 (0xb78a8000)
>         libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7881000)
>         libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7782000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>         libogg.so.0 => /usr/lib/libogg.so.0 (0xb777d000)
>
>
> maybe you do not link correctly?
>
> I have this entry in my apps/Makefile:
>
> app_transcoder.so : app_transcoder.o
>         $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lavcodec
>
>
> ^^^^
> note: this must be a [TAB], no spaces
>
> klaus
>
> Rene van Weert schrieb:
> > Dear Klaus,
> >
> > ldd gives me:
> > asterisk-dev:~# ldd /usr/lib/asterisk/modules/app_transcoder.so
> >         linux-gate.so.1 =>  (0xffffe000)
> >         libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7f3c000)
> >         libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7df4000)
> >         /lib/ld-linux.so.2 (0x80000000)
> >
> > However, when starting asterisk I get:
> > asterisk: symbol lookup error:
> > /usr/lib/asterisk/modules/app_transcoder.so: undefined symbol:
> avcodec_init
> >
> > Cheers,
> > René
> >
> >
> > On 9/6/07, *Klaus Darilion* <klaus.mailinglists at pernau.at
> > <mailto:klaus.mailinglists at pernau.at>> wrote:
> >
> >     make sure app_transcoder can find the library:
> >
> >     check with:
> >     ldd /usr/lib/asterisk/modules/app_transcoder.so
> >
> >     usually you will avcodec in /usr/local/lib
> >
> >     thus make sure to add /usr/local/lib to your library path in
> >     /etc/ld.so.conf
> >
> >     after that, execute "ldconfig"
> >
> >     klaus
> >
> >     Rene van Weert schrieb:
> >      > Hi Laurent,
> >      >
> >      > I have the same problem now, what was your solution?
> >      >
> >      > Kind regards,
> >      >
> >      > René
> >      >
> >      >
> >      > On 7/9/07, *laurent schweizer* < laurent.schweizer at gmail.com
> >     <mailto:laurent.schweizer at gmail.com>
> >      > <mailto:laurent.schweizer at gmail.com
> >     <mailto:laurent.schweizer at gmail.com>>> wrote:
> >      >
> >      >     I have found the solutions,
> >      >
> >      >     Thanks
> >      >
> >      >
> >      >     2007/7/9, dwita loveme <dwitaloveme at yahoo.com
> >     <mailto:dwitaloveme at yahoo.com>
> >      >     <mailto:dwitaloveme at yahoo.com <mailto:dwitaloveme at yahoo.com
> >>>:
> >      >
> >      >         hi,
> >      >         is ffmpeg installed correctly ?
> >      >         i got the same problem in the past.
> >      >
> >      >         :)
> >      >         dwi
> >      >
> >      >
> >      >         */laurent schweizer < laurent.schweizer at gmail.com
> >     <mailto:laurent.schweizer at gmail.com>
> >      >         <mailto:laurent.schweizer at gmail.com
> >     <mailto:laurent.schweizer at gmail.com>>>/* wrote:
> >      >
> >      >             Hello,
> >      >
> >      >             I try to start asterisk 1.4.6 with the app_transcoder
> >     module
> >      >             but I have this error.
> >      >
> >      >             Thanks
> >      >
> >      >             codec_alaw.so => (A-law Coder/Decoder)
> >      >               == Registered custom function MATH
> >      >             func_math.so => (Mathematical dialplan function)
> >      >               == Registered application 'PrivacyManager'
> >      >             app_privacy.so => (Require phone number to be
> >     entered, if no
> >      >             CallerID sent)
> >      >               == Registered application 'DumpChan'
> >      >             app_dumpchan.so => (Dump Info About The Calling
> Channel)
> >      >               == Registered application 'rtsp'
> >      >             app_rtsp.so => (RTSP applications)
> >      >               == Registered application 'Milliwatt'
> >      >             app_milliwatt.so => (Digital Milliwatt (mu-law) Test
> >      >             Application)
> >      >             asterisk: symbol lookup error:
> >      >             /usr/lib/asterisk/modules/app_transcoder.so:
> undefined
> >      >             symbol: avcodec_init
> >      >
> >      >             _______________________________________________
> >      >             --Bandwidth and Colocation Provided by
> >      >             http://www.api-digital.com--
> >     <http://www.api-digital.com--/ <http://www.api-digital.com--/>>
> >      >
> >      >             asterisk-video mailing list
> >      >             To UNSUBSCRIBE or update options visit:
> >      >
> >     http://lists.digium.com/mailman/listinfo/asterisk-video
> >     <http://lists.digium.com/mailman/listinfo/asterisk-video>
> >      >             <
> http://lists.digium.com/mailman/listinfo/asterisk-video>
> >      >
> >      >
> >      >
> >
> ------------------------------------------------------------------------
> >
> >      >         Yahoo! oneSearch: Finally, mobile search that gives
> answers
> >      >
> >     <
> http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> >     <
> http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> >>,
> >      >         not web links.
> >      >
> >      >
> >      >         _______________________________________________
> >      >         --Bandwidth and Colocation Provided by
> >      >         http://www.api-digital.com-- <
> http://www.api-digital.com--/>
> >      >
> >      >         asterisk-video mailing list
> >      >         To UNSUBSCRIBE or update options visit:
> >      >           http://lists.digium.com/mailman/listinfo/asterisk-video
> >      >
> >      >
> >      >
> >      >     _______________________________________________
> >      >     --Bandwidth and Colocation Provided by
> >     http://www.api-digital.com--
> >      >     <http://www.api-digital.com--/>
> >      >
> >      >     asterisk-video mailing list
> >      >     To UNSUBSCRIBE or update options visit:
> >      >       http://lists.digium.com/mailman/listinfo/asterisk-video
> >     <http://lists.digium.com/mailman/listinfo/asterisk-video>
> >      >
> >      >
> >      >
> >      >
> >
> ------------------------------------------------------------------------
> >      >
> >      > _______________________________________________
> >      > --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
> >
> >     _______________________________________________
> >     --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >     <http://www.api-digital.com-->
> >
> >     asterisk-video mailing list
> >     To UNSUBSCRIBE or update options visit:
> >       http://lists.digium.com/mailman/listinfo/asterisk-video
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > --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
>
> _______________________________________________
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20070907/9fbebb3f/attachment-0001.htm 


More information about the asterisk-video mailing list