| Summary: | [toolchain] lack of libGL.so to run qemu/qemu-system-* from toolchain tarball | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | meta-yocto | Assignee: | Edwin Zhai <edwin.zhai> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | josh, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, scott.a.garman, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
Jiajun Xu
2010-08-05 23:37:59 UTC
Its expected that the system running the SDK will have some kind of libGL available. We can't ship this particular library ourselves as its system and graphics stack specific. I remember that we have same error before, when just running qemu from poky build directory. Later some sanity checks are added with informative hint to user which packages should be installed. Could we have same hint for SDK? Yes, this sounds like the best way to resolve this Edwin, have you looked at this yet? If not I have a patch in my local git tree. (In reply to comment #4) > Edwin, have you looked at this yet? If not I have a patch in my local git tree. Josh, Thanks, Can you post your commits? Talked with Jiajun, he said he has such issue even when libGL.so installed. Jiajun, can you provide more details? (In reply to comment #5) > (In reply to comment #4) > > Edwin, have you looked at this yet? If not I have a patch in my local git tree. > Josh, > Thanks, Can you post your commits? > Talked with Jiajun, he said he has such issue even when libGL.so installed. > Jiajun, can you provide more details? Yes. My system has libGL.so installed. ########### root@vt-nhm4:/opt/poky# /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/qemu-system-arm /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/qemu-system-arm: error while loading shared libraries: libGL.so: cannot open shared object file: No such file or directory root@vt-nhm4:/opt/poky# ldd /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/qemu-system-arm | grep libGL libGL.so => /usr/lib/mesa/libGL.so (0xb74d4000) root@vt-nhm4:/opt/poky# ls /usr/lib/mesa/libGL.so* -l lrwxrwxrwx 1 root root 10 2010-06-10 04:08 /usr/lib/mesa/libGL.so -> libGL.so.1 lrwxrwxrwx 1 root root 12 2010-06-10 04:08 /usr/lib/mesa/libGL.so.1 -> libGL.so.1.2 -rw-r--r-- 1 root root 403812 2010-04-28 22:43 /usr/lib/mesa/libGL.so.1.2 ########### Hmm, OK - I've added a patch to check for the existence of libGL when using poky-qemu with 66790ecb4a5faee06b844b41e2524af640fdb3da poky-qemu: check for existence of required libraries I think that fixes the initially reported bug, so I'm closing it. Jiajun, can you open a new bug for the issue of qemu not working even though you have libGL? (In reply to comment #7) > Hmm, OK - I've added a patch to check for the existence of libGL when using > poky-qemu with 66790ecb4a5faee06b844b41e2524af640fdb3da > poky-qemu: check for existence of required libraries > I think that fixes the initially reported bug, so I'm closing it. > Jiajun, can you open a new bug for the issue of qemu not working even though > you have libGL? Thanks, Josh. I open a new bug, bug 228 for the libGL.so not found issue. Verified the bug, running poky-qemu without libGL.so will cause warning now. |