[oe-commits] [openembedded-core] 20/51: glibc-scripts: add RDEPENDS on libsotruss package required by sotruss script

git at git.openembedded.org git at git.openembedded.org
Tue Aug 30 15:32:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d0429eeab3ef04bcb3cdaa869f1644b1a3a2e963
Author: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
AuthorDate: Mon Aug 29 00:01:03 2016 +0530

    glibc-scripts: add RDEPENDS on libsotruss package required by sotruss script
    
    It solves below error observed on qemux86 target:
    root at 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 at qemux86:~#
    
    With this change, we get:
    root at qemux86:~# sotruss ./hello
              hello -> libc.so.6      :*__libc_start_main(0x8048300, 0x1,
    0xbfc86274)
              hello -> libc.so.6      :*puts(0x804851c, 0xb74af000, 0x0)
    Hello World
    root at qemux86:~#
    
    Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glibc/glibc-scripts.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc-scripts.inc b/meta/recipes-core/glibc/glibc-scripts.inc
index 3a06773..bce0a42 100644
--- a/meta/recipes-core/glibc/glibc-scripts.inc
+++ b/meta/recipes-core/glibc/glibc-scripts.inc
@@ -14,3 +14,7 @@ do_install() {
 		install -m 0755 ${SRC}/$i ${D}${bindir}/
 	done
 }
+
+# sotruss script requires sotruss-lib.so (given by libsotruss package), 
+# to produce trace of the library calls.
+RDEPENDS_${PN} += "libsotruss"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list