[yocto] setting DEPENDS variable to specific package version

Dafna Hirschfeld dafna3 at gmail.com
Sat Dec 30 09:25:47 PST 2017


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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171230/b8a6fa3b/attachment.html>


More information about the yocto mailing list