* [PATCH 0/1] expect: fix shared object file cannot be opened
@ 2014-08-21 1:27 Chong Lu
2014-08-21 1:27 ` [PATCH 1/1] " Chong Lu
0 siblings, 1 reply; 2+ messages in thread
From: Chong Lu @ 2014-08-21 1:27 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 34436672f3ef4915e7526770a0fa8dcff328f93d:
bitbake: runqueue.py: Fix typoes/grammar in comments. (2014-08-19 20:41:26 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib chonglu/expect
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/expect
Chong Lu (1):
expect: fix shared object file cannot be opened
meta/recipes-devtools/expect/expect_5.45.bb | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] expect: fix shared object file cannot be opened
2014-08-21 1:27 [PATCH 0/1] expect: fix shared object file cannot be opened Chong Lu
@ 2014-08-21 1:27 ` Chong Lu
0 siblings, 0 replies; 2+ messages in thread
From: Chong Lu @ 2014-08-21 1:27 UTC (permalink / raw)
To: openembedded-core
When we require Expect package in tcl script, we will get following error:
couldn't load file "/usr/lib/expect5.45/libexpect5.45.so": /usr/lib/expect5.45/libexpect5.45.so: cannot open shared object file: No such file or directory
while executing
"load /usr/lib/expect5.45/libexpect5.45.so"
("package ifneeded Expect 5.45" script)
invoked from within
"package require Expect"
(file "hello.tcl" line 3)
This patch fixes this issue.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
meta/recipes-devtools/expect/expect_5.45.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/expect/expect_5.45.bb b/meta/recipes-devtools/expect/expect_5.45.bb
index 970f4a5..3e839a2 100644
--- a/meta/recipes-devtools/expect/expect_5.45.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.bb
@@ -35,6 +35,7 @@ do_install_append() {
install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/
install -m 0755 ${S}/example/* ${D}${libdir}/expect${PV}/
rm ${D}${libdir}/expect${PV}/libexpect*.so
+ sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
}
EXTRA_OECONF += "--includedir=${STAGING_INCDIR} \
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-21 1:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-21 1:27 [PATCH 0/1] expect: fix shared object file cannot be opened Chong Lu
2014-08-21 1:27 ` [PATCH 1/1] " Chong Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox