To verify that my application is linking to libgstapp I did the following:<div><br></div><div>#cat /proc/2017/maps        // 2017=My app PID</div><div><br></div><div>Output has:</div><div><div>2aab1000-2aabb000 r-xp 00000000 00:0d 1639505    /usr/lib/libgstapp-0.10.so.0.25.0</div>
<div>2aabb000-2aac3000 ---p 0000a000 00:0d 1639505    /usr/lib/libgstapp-0.10.so.0.25.0</div><div>2aac3000-2aac4000 rw-p 0000a000 00:0d 1639505    /usr/lib/libgstapp-0.10.so.0.25.0</div></div><div><br></div><div><br></div>
<div><div>4b7b0000-4b879000 r-xp 00000000 00:0d 1639394    /usr/lib/libgstreamer-0.10.so.0.30.0</div><div>4b879000-4b881000 ---p 000c9000 00:0d 1639394    /usr/lib/libgstreamer-0.10.so.0.30.0</div><div>4b881000-4b884000 rw-p 000c9000 00:0d 1639394    /usr/lib/libgstreamer-0.10.so.0.30.0</div>
</div><div><br></div><div><br></div><div><div>4b898000-4b8e8000 r-xp 00000000 00:0d 1639812    /usr/lib/libgstbase-0.10.so.0.30.0</div><div>4b8e8000-4b8e9000 rw-p 00050000 00:0d 1639812    /usr/lib/libgstbase-0.10.so.0.30.0</div>
</div><div><br></div><div>I think I'm linking to the correct library. <br></div><div><br></div><div>Can you please share the  config.log output file from your gst-plugins-base build?<br></div><div><br></div><div>Thanks</div>
<div>Tarek</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 5, 2012 at 3:12 PM, Krzysztof Konopko <span dir="ltr"><<a href="mailto:krzysztof.konopko@youview.com" target="_blank">krzysztof.konopko@youview.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">PKG_CONFIG_PATH is an environment variable. It should point to a<br>
directory containing *.pc files for a given platform/configuration.<br>
<br>
See man pkg-config.<br>
<br>
If you build your app manually then you have to set this variable<br>
manually. Otherwise it depends on your build system.<br>
<br>
If you pass libraries directly with -l then don't bother with<br>
pkg-config. Just make sure that -L points to the correct directory.<br>
<br>
You can also check whether your final binary has proper dependencies:<br>
- on your host<br>
# to make sure you're inspecting the right binary (see if it's a binary<br>
for your target architecture)<br>
file <your binary><br>
readelf -d <your binary> | grep libgstapp<br>
<br>
- on your target platform (if you have ldd available)<br>
ldd <your binary | grep libgstapp<br>
<br>
Please bear in mind that I'm not saying that potentially missing<br>
dependency on libgstapp is the cause of your problem. I'm not sure about<br>
that. All I know is that my apps depend on it and they work with<br>
appsrc/appsink on PC and embedded platform.<br>
<br>
Kris<br>
<div class="HOEnZb"><div class="h5"><br>
On 05/12/12 15:01, Tarek El-Sherbiny wrote:<br>
> Hi Kris,<br>
><br>
> This is what I'm passing to gcc:<br>
><br>
> $(pkg-config --cflags --libs gstreamer-0.10 gstreamer-app-0.10)<br>
> -lgstapp-0.10  -lgstinterfaces-0.10<br>
><br>
> Is there a configuration option for seting up the PKG_CONFIG_PATH ?<br>
><br>
> Thanks,<br>
> Tarek<br>
><br>
> On Wed, Dec 5, 2012 at 2:49 PM, Krzysztof Konopko <<br>
> <a href="mailto:krzysztof.konopko@youview.com">krzysztof.konopko@youview.com</a>> wrote:<br>
><br>
>> PKG_CONFIG_PATH<br>
><br>
<br>
</div></div></blockquote></div><br></div>