Bug 5153

Summary: LSB 4.1 Library Check: Unable to find library libqt-mt.so.3
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Hongxu Jia <hongxu.jia>
Component: coreAssignee: Hongxu Jia <hongxu.jia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, hongxu.jia, liezhi.yang, mark.hatle, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Hongxu Jia 2013-09-10 05:17:20 UTC
Run 'bitbake core-image-lsb' and boot a target to start lsb test.
...
libqt-mt.so.3 15 failed
...

The journal shows the library didsn't exist.
...
Unable to find library libqt-mt.so.3
...
Comment 1 Hongxu Jia 2013-09-13 07:54:33 UTC
Hi Paul,

libqt-mt is tested by lsb-dist-checker and lsb-test-desktop,
but it locates in meta-qt3 layer.

How about move qt3 to oe-core?

In that way, lsb in oe-core could use it without depending
meta-qt3 layer.

Thanks,
Hongxu
Comment 2 Paul Eggleton 2013-09-13 08:27:16 UTC
I don't think we'd do this. Qt3 is only around for LSB, it is not needed for anything else.

When we do LSB builds on the autobuilder we just need to be including this layer; in fact I thought we already were.
Comment 3 Hongxu Jia 2013-09-13 10:02:40 UTC
Hi Paul,

When build core-image-lsb/core-image-lsb-dev/core-image-lsb-sdk which
located in oe-core, they don't include meta-qt layer by default.

How about add some warnings in lsb if meta-qt3 is not added?
...
WARNING: The meta-qt3 layer should be added, this layer provides Qt 3.x libraries.
WARNING: Its intended use is for passing LSB tests as Qt3 is a requirement for LSB;
...

Thanks,
Hongxu