<div dir="ltr"><div>Hi,</div><div><br></div><div>I read what you post and I tried what is in the site but with no sucess:</div><div><br></div><div><div><i>PKG_CONFIG_LIBDIR=/path/to/cross/lib/pkgconfig</i></div><div><i>export PKG_CONFIG_LIBDIR</i></div><div><i>exec /usr/bin/pkg-config "$@"</i></div></div><div><i><br></i></div><div>BTW I manually change the smbclient.pc so the path point to the right location and it works but now I have the same problem for others packages so the problem is in bad PATH variable set. Can you help me with <b>The best way is to install pkg-config in your cross-compilation environment. It will automatically use the cross-compilation libraries. </b>and how can I do it?</div><div><i><br></i></div><div><i><br></i></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Cumprimentos,<div>Jose Xavier</div></div></div></div>
<br><div class="gmail_quote">2015-12-24 22:54 GMT+00:00 Nicolas George <span dir="ltr"><<a href="mailto:george@nsup.org" target="_blank">george@nsup.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le quartidi 4 nivôse, an CCXXIV, José Eduardo S. C. Xavier a écrit :<br>
<span class="">> When I do ./configure on ffmpeg src folder it says it can't find<br>
> libsmbclient.h. Looking on config.log file it looks like pkg-config is<br>
> looking for host package instead of target package.<br>
<br>
</span>Well, you have "--pkg-config=pkg-config" in your configure line, what did<br>
you expect?<br>
<br>
<a href="http://ffmpeg.org/faq.html#How-do-I-use-pkg_002dconfig-when-cross_002dcompiling_003f" rel="noreferrer" target="_blank">http://ffmpeg.org/faq.html#How-do-I-use-pkg_002dconfig-when-cross_002dcompiling_003f</a><br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
  Nicolas George<br>
</font></span><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>