[yocto] setting DEPENDS variable to specific package version
John Ernberg
john.ernberg at actia.se
Mon Jan 1 04:27:44 PST 2018
Hi Dafna,
On 12/30/2017 06:25 PM, Dafna Hirschfeld wrote:
Hi,
I want to add the vlc package , which has "lua" package in it's DEPNENDS variable.
But vlc needs lua5.2 and the default is lua5.3
So when running vlc on the target I get "undefined symbol" in the liblua_plugin.so
So how do I set the packages in DEPENDS to be in specific version ?
I added lua_5.2.2.bb<http://lua_5.2.2.bb> found in this repo https://git.congatec.com/yocto/meta-openembedded.git to meta-openembedded/meta-oe/recipes-devtools/lua/
and added
PREFERRED_VERSION_lua = "5.2%"
to meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc.inc
but this didn't have any effect.
thanks
PREFERRED_VERSION is a config-variable, try setting it in your local.conf.
Best regards // John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180101/1927994f/attachment.html>
More information about the yocto
mailing list