mkpasswd (part of expect) does not work due to how tcl is configured to live in %(datadir)s instead of %(libdir)s
-----------------------------------------------------------------------------------------------------------------
Key: FL-2925
URL:
https://issues.foresightlinux.org/jira/browse/FL-2925
Project: Foresight Linux
Issue Type: Bug
Security Level: Public (Everyone can see this issue)
Components: Base Operating System
Affects Versions: 2.5.3
Reporter: ermo | Rune Morling
Assignee: Michael K. Johnson
{noformat}
[ermo@mrwing tcl]$ mkpasswd
couldn't load file "/usr/share/tcl8.5/expect5.45/../../
libexpect5.45.so": /usr/share/tcl8.5/expect5.45/../../
libexpect5.45.so: cannot open shared object file: No such file or directory
while executing
"load /usr/share/tcl8.5/expect5.45/../../
libexpect5.45.so"
("package ifneeded Expect 5.45" script)
invoked from within
"package require Expect"
(file "/usr/bin/mkpasswd" line 6)
[ermo@mrwing tcl]$ ls -la /usr/share/tcl8.5 /usr/lib64/tcl8.5
lrwxrwxrwx 1 root root 15 2013-04-12 18:04 /usr/lib64/tcl8.5 -> ../share/tcl8.5
/usr/share/tcl8.5:
total 332
drwxr-xr-x 8 root root 4096 2013-11-09 19:45 .
drwxr-xr-x 270 root root 12288 2013-08-11 13:45 ..
-rw-r--r-- 1 root root 20577 2011-04-12 16:39 auto.tcl
-rw-r--r-- 1 root root 130055 2011-04-12 16:39 clock.tcl
drwxr-xr-x 2 root root 4096 2013-04-12 18:04 encoding
drwxr-xr-x 2 root root 4096 2013-11-09 19:45 expect5.45
-rw-r--r-- 1 root root 9032 2011-04-12 16:39 history.tcl
drwxr-xr-x 2 root root 4096 2013-04-12 18:04 http1.0
-rw-r--r-- 1 root root 24855 2011-04-12 16:39 init.tcl
drwxr-xr-x 2 root root 4096 2013-04-12 18:04 msgs
drwxr-xr-x 2 root root 4096 2013-04-12 18:04 opt0.4
-rw-r--r-- 1 root root 23643 2011-04-12 16:39 package.tcl
-rw-r--r-- 1 root root 869 2011-04-12 16:39 parray.tcl
-rw-r--r-- 1 root root 32812 2011-04-12 16:39 safe.tcl
drwxr-xr-x 2 root root 4096 2013-10-01 07:37 sqlite3
-rw-r--r-- 1 root root 4721 2007-04-16 15:36 tclAppInit.c
-rw-r--r-- 1 root root 6379 2011-04-12 16:39 tclIndex
-rw-r--r-- 1 root root 11432 2011-04-12 16:39 tm.tcl
-rw-r--r-- 1 root root 4724 2011-04-12 16:39 word.tcl
[ermo@mrwing tcl]$ ls -la /usr/lib64/libexpect*
-rwxr-xr-x 1 root root 187784 2011-11-16 19:46 /usr/lib64/
libexpect5.45.so
lrwxrwxrwx 1 root root 16 2013-11-09 19:45 /usr/lib64/libexpect.so ->
libexpect5.45.so
[ermo@mrwing tcl]$
{noformat}
The problem is that, being a c-library, expect *thinks* it lives in {{/usr/lib64/tcl8.5/expect5.45/}} when in fact it lives under {{/usr/share/tcl8.5/expect5.45/}} due to the symlink shown above.
I am proposing that we change the tcl recipe to configure tcl to use %(libdir)s instead of %(datadir)s like in the attached {{tcl.recipe.diff}}
Thoughts?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.foresightlinux.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira