Bug 288

Summary: avahi-daemon load shared libraries error with qemux86 image
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: xianchao zhang <xianchao.zhang>
Component: meta-yoctoAssignee: Qing He <qing.he>
Status: VERIFIED FIXED QA Contact:
Severity: minor    
Priority: Medium CC: jessica.zhang, jiajun.xu, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw, xianchao.zhang
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description xianchao zhang 2010-09-08 01:28:11 UTC
Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
Image location: http://autobuilder.pokylinux.org/milestone/20100905-1/

1. download sato or sdk image from milesone build.
2. boot up qemux86 with either image
3. run command 'avahi-daemon', error will arise.

###################

root@qemux86:~# avahi-daemon 
avahi-daemon: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory

####################
Comment 1 xianchao zhang 2010-09-09 21:47:11 UTC
With the latest build image from :
http://autobuilder.pokylinux.org/build-areas/milestone-release/build/build/tmp/deploy/images/

avahi-daemon can start up successfully with sdk image, but it still failed with sato image, the same loading issue still arising.
Comment 2 Qing He 2010-09-12 21:54:41 UTC
avahi-daemon should DEPENDS on libcap, otherwise it links to host libcap and thus producing this error.
Comment 3 Jiajun Xu 2010-09-14 07:39:30 UTC
Xianchao,
The bug you reported is for qemux86 image, right? I modify the title to make it clear.
Comment 4 xianchao zhang 2010-09-14 20:01:29 UTC
(In reply to comment #3)
> Xianchao,
> The bug you reported is for qemux86 image, right? I modify the title to make it
> clear.

Yes, you are right.
Comment 5 Qing He 2010-09-18 19:49:01 UTC
The fix is in poky/master now, as commit 7c99ba847084ca3ccfb3fe206b7b01aa50d50070.
Comment 6 xianchao zhang 2010-10-26 22:19:13 UTC
verified with the 10/24 milestone build