<div dir="ltr"><div><div><div>Hi all,<br><br></div>i have noticed this issue while integrating 3g video gateway to asterisk. There is a topic in digium but it did not solve my problem.<br><br><a href="http://lists.digium.com/pipermail/asterisk-video/2007-September/001221.html">http://lists.digium.com/pipermail/asterisk-video/2007-September/001221.html</a><br>
<br></div><div><b>app_transcoder.so</b> dependencies are:<br><br><pre style class=""><code><span class="">    linux</span><span class="">-</span><span class="">vdso</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">1</span><span class=""> </span><span class="">=></span><span class="">  </span><span class="">(</span><span class="">0x00007fff851ff000</span><span class="">)</span><span class="">
    libavcodec</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">54</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">usr</span><span class="">/</span><span class="">local</span><span class="">/</span><span class="">lib</span><span class="">/</span><span class="">libavcodec</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">54</span><span class=""> </span><span class="">(</span><span class="">0x00007f8604ec3000</span><span class="">)</span><span class=""> 
    libswscale</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">2</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">usr</span><span class="">/</span><span class="">local</span><span class="">/</span><span class="">lib</span><span class="">/</span><span class="">libswscale</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">2</span><span class=""> </span><span class="">(</span><span class="">0x00007f8604c6e000</span><span class="">)</span><span class="">
    libc</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">6</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">lib64</span><span class="">/</span><span class="">libc</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">6</span><span class=""> </span><span class="">(</span><span class="">0x00007f86048d9000</span><span class="">)</span><span class="">
    libavutil</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">52</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">usr</span><span class="">/</span><span class="">local</span><span class="">/</span><span class="">lib</span><span class="">/</span><span class="">libavutil</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">52</span><span class=""> </span><span class="">(</span><span class="">0x00007f86046a7000</span><span class="">)</span><span class="">
    libpthread</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">0</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">lib64</span><span class="">/</span><span class="">libpthread</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">0</span><span class=""> </span><span class="">(</span><span class="">0x00007f860448a000</span><span class="">)</span><span class="">
    libx264</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">142</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">usr</span><span class="">/</span><span class="">local</span><span class="">/</span><span class="">lib</span><span class="">/</span><span class="">libx264</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">142</span><span class=""> </span><span class="">(</span><span class="">0x00007f86040d1000</span><span class="">)</span><span class="">
    libgsm</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">1</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">usr</span><span class="">/</span><span class="">lib</span><span class="">/</span><span class="">libgsm</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">1</span><span class=""> </span><span class="">(</span><span class="">0x00007f8603ec6000</span><span class="">)</span><span class="">
    libm</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">6</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">lib64</span><span class="">/</span><span class="">libm</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">6</span><span class=""> </span><span class="">(</span><span class="">0x00007f8603c42000</span><span class="">)</span><span class="">
    libz</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">1</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">lib64</span><span class="">/</span><span class="">libz</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">1</span><span class=""> </span><span class="">(</span><span class="">0x00007f8603a2b000</span><span class="">)</span><span class="">
    </span><span class="">/</span><span class="">lib64</span><span class="">/</span><span class="">ld</span><span class="">-</span><span class="">linux</span><span class="">-</span><span class="">x86</span><span class="">-</span><span class="">64.so</span><span class="">.</span><span class="">2</span><span class=""> </span><span class="">(</span><span class="">0x0000003b14200000</span><span class="">)</span><span class="">
    libdl</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">2</span><span class=""> </span><span class="">=></span><span class=""> </span><span class="">/</span><span class="">lib64</span><span class="">/</span><span class="">libdl</span><span class="">.</span><span class="">so</span><span class="">.</span><span class="">2</span><span class=""> </span><span class="">(</span><span class="">0x00007f8603827000</span><span class="">)<br>
</span></code></pre> </div>Actually i found the function "avcodec_init" is declared but no defined in the .so file. <br>When i run this "nm -a /usr/local/lib/libavcodec.so.54 " command:<br><br></div>it shows : <b>nm: /usr/local/lib/libavcodec.so.54: no symbols</b><div>
<div><div><div><div><br></div><div>so it shows the <b>undefined symbol</b> error. my ldconfig is ok with system library paths(like /usr/local/lib). <br><br>=====================<br></div><div><p>CentOS-6.4</p>

<p>ffmpeg-1.2.6 </p>

<p>asterisk-1.4.0</p>

<p>x264- 0.142x</p>

<p>ptlib-2.6.7</p>

<p>mpeg4ip-1.6.1</p><br></div><div>Any advice is appreciated.<br></div><div><br></div><div>-- <br><div dir="ltr"><div>Thanks,<br><br>Riadul Islam,<br>Systems Engineer,<br>Synesis IT.<br></div>C- <a href="tel:8801915784111" value="+8801915784111" target="_blank">8801915784111</a><br>
</div>
</div></div></div></div></div></div>