[Libav-user] Cross compile ffmpeg

José Eduardo S. C. Xavier josescxavier at gmail.com
Fri Dec 25 00:12:34 CET 2015


Hi,

I read what you post and I tried what is in the site but with no sucess:

*PKG_CONFIG_LIBDIR=/path/to/cross/lib/pkgconfig*
*export PKG_CONFIG_LIBDIR*
*exec /usr/bin/pkg-config "$@"*

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 *The best
way is to install pkg-config in your cross-compilation environment. It will
automatically use the cross-compilation libraries. *and how can I do it?



Cumprimentos,
Jose Xavier

2015-12-24 22:54 GMT+00:00 Nicolas George <george at nsup.org>:

> Le quartidi 4 nivôse, an CCXXIV, José Eduardo S. C. Xavier a écrit :
> > When I do ./configure on ffmpeg src folder it says it can't find
> > libsmbclient.h. Looking on config.log file it looks like pkg-config is
> > looking for host package instead of target package.
>
> Well, you have "--pkg-config=pkg-config" in your configure line, what did
> you expect?
>
>
> http://ffmpeg.org/faq.html#How-do-I-use-pkg_002dconfig-when-cross_002dcompiling_003f
>
> Regards,
>
> --
>   Nicolas George
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20151224/8d772a55/attachment.html>


More information about the Libav-user mailing list