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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to