mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
expect: fix shared object file cannot be opened
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.
(From OE-Core rev: 43813ddfa8cade9ea1c5de24dcd4e275b1486cff)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user