summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>2016-08-29 00:01:03 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:52 +0100
commitbf1954c70074b1a68710487b0bdb2cd921c5b44d (patch)
treeaf84e216455c31dcd7b3fbca00459812ef8b51fa /meta
parent71ffc920362a5cefe3aad04bbb42cb4e8729cb18 (diff)
downloadpoky-bf1954c70074b1a68710487b0bdb2cd921c5b44d.tar.gz
glibc-scripts: add RDEPENDS on libsotruss package required by sotruss script
It solves below error observed on qemux86 target: root@qemux86:~# sotruss ./hello ERROR: ld.so: object '/usr/$LIB/audit/sotruss-lib.so' cannot be loaded as audit interface: cannot open shared object file; ignored. Hello World root@qemux86:~# With this change, we get: root@qemux86:~# sotruss ./hello hello -> libc.so.6 :*__libc_start_main(0x8048300, 0x1, 0xbfc86274) hello -> libc.so.6 :*puts(0x804851c, 0xb74af000, 0x0) Hello World root@qemux86:~# (From OE-Core rev: aa2d2161c5b41358f732e95199f0c066d4e2d77a) Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glibc/glibc-scripts.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-scripts.inc b/meta/recipes-core/glibc/glibc-scripts.inc
index 3a06773d66..bce0a42106 100644
--- a/meta/recipes-core/glibc/glibc-scripts.inc
+++ b/meta/recipes-core/glibc/glibc-scripts.inc
@@ -14,3 +14,7 @@ do_install() {
14 install -m 0755 ${SRC}/$i ${D}${bindir}/ 14 install -m 0755 ${SRC}/$i ${D}${bindir}/
15 done 15 done
16} 16}
17
18# sotruss script requires sotruss-lib.so (given by libsotruss package),
19# to produce trace of the library calls.
20RDEPENDS_${PN} += "libsotruss"