<div dir="ltr">If I change --pkg-config to something that isn't pkgconfig I got "WARNING: /hom/ze/path/path/pkgconfig not found, library detection may fail."<div><br></div><div>BTW Am I askging on the right list?</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 23:12 GMT+00:00 José Eduardo S. C. Xavier <span dir="ltr"><<a href="mailto:josescxavier@gmail.com" target="_blank">josescxavier@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><div dir="ltr">Cumprimentos,<div>Jose Xavier</div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Le quartidi 4 nivôse, an CCXXIV, José Eduardo S. C. Xavier a écrit :<br>
<span>> 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><font color="#888888"><br>
--<br>
  Nicolas George<br>
</font></span><br></div></div>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">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>
</blockquote></div><br></div>