Home/Support/Support Forum/build tr-50 library in yocto (how to add autotools managed library to yocto)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

build tr-50 library in yocto (how to add autotools managed library to yocto)

0 votes
Hello, I'm using the digi ccimx6ul starter board and want to build the tr-50 library
https://github.com/inhedron/libtr50.

As a depedency openssl in the debug version is needed.
When I try to add something like "openssl-dev" or "openssl-devel" into the recipe:

DEPENDS = "openssl openssl-devel"

and build with bitbake tr-50, then the second part always gives me an error:

ERROR: Nothing PROVIDES 'openssl-devel' (but /usr/local/dey-2.0/sources/meta-training/recipes-examples/tr-50/tr-50_0.1.bb DEPENDS on or otherwise requires it). Close matches:
openssl-native
openssl
ERROR: Required build target 'tr-50' has no buildable providers.
Missing or unbuildable dependency chain was:

How can I include the development version of openssl so that the library builds?

When I build with bitbake core-image-base, the build finishes, however, neither openssl-dev, nor tr-50 appear in the library folders.

Isn't there a general way on how to include autotools managed libraries into your own layer?

Thanks and looking forward to answers,
Jakob
asked Jan 27, 2017 in Linux by nickname135 New to the Community (3 points)
edited Jan 26, 2017 by nickname135

Please log in or register to answer this question.

1 Answer

0 votes
this by itself
DEPENDS = "openssl openssl-devel"
does not add openssl-devel package
answered Jan 29, 2017 by LeonidM Veteran of the Digi Community (3,556 points)
...