Testing Env: Host: Ubuntu 10.04 LTS Kernel: 2.6.32-21-generic-pae toolchain tarball from milestone build (20100731) on autobuilder, http://yoctobuild01.jf.intel.com/milestone/20100731-1/. poky commit info: 81315907f9ab575a7e2294577d285082494d74ea from poky master tree The qemu/qemu-system-* from toolchain tarball built from autobuilder need shared libraryies, like libGL.so, to run. ##### root@vt-nhm4:/opt/poky# ./sysroots/i586-pokysdk-linux/usr/bin/qemu ./sysroots/i586-pokysdk-linux/usr/bin/qemu: error while loading shared libraries: libGL.so: cannot open shared object file: No such file or directory #####
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.