Did you try 

 $ ldd program-name

This should tell you which libraries are missing and where it is looking.

Then you can do:

 $ find / -name libname.so

To find them.

Finally, you can fix your /etc/ld.so.conf with the path to your libs.

Then do

 $ ldconfig # refresh library cache so your libs are found

And you should be able to run your app.

Then, obviously, this can all be put into a bitbake recipe.

Frederick
________________________________________
From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Nathan Sowatskey <nat...@nathan.to>
Sent: Friday, February 5, 2016 1:13 AM
To: yocto@yoctoproject.org
Subject: Re: [yocto] libQt5Network.so.5 - How does one get that please?

It turns out that the build is correct, in that the libraries are there, but 
the test program I am using is not finding them :-/

So, for future reference, at least part what is required to work is correct in 
my build.

Regards

Nathan

> On 4 Feb 2016, at 17:39, Nathan Sowatskey <nat...@nathan.to> wrote:
>
> Hi
>
> My application has a dependency on libQt5Network.so.5.
>
> I have my build configured here:
>
> https://github.com/DevOps4Networks/iox-yocto-build/tree/master/conf
>
> I expect that some combination of the BBLAYERS and the IMAGE_INSTALL_append 
> should allow me to get that library in my Yocto image.
>
> I am not sure which layer has the qtnetwork recipe in it, as I can’t find 
> that here:
>
> http://layers.openembedded.org/layerindex/branch/master/layers/
>
> Any ideas gratefully received.
>
> Many thanks
>
> Nathan
>
> —
> Nathan John Sowatskey
> Consulting Engineer - Programmable Infrastructure, DevOps, IoT and SDN
> nat...@nathan.to
> www.linkedin.com/in/nathandevops
> XMPP: nathando...@im.koderoot.net
> Google: nathanjohnsowats...@gmail.com
> Skype: nathan_sowatskey
> Twitter: NathanDotTo
> GitHub: https://github.com/DevOps4Networks
> http://www.kipling.org.uk/poems_if.htm
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to