Sergei Golovan (sgolo...@nes.ru) wrote:

> I can't reproduce the bug. For me 'package require Expect' loads the
> Expect package successfully.
> 
> Could you show the output of two commands in a tclsh8.6 session:
> 
> info patchlevel
> set auto_path
> 
> and also, could you look if there's some code which changes the
> auto_path variable in your ~/.tclshrc?

titan:~$ ls -ld .tcl*
ls: cannot access .tcl*: No such file or directory
titan:~$ env | grep TCL
titan:~$ /usr/bin/tclsh8.6
% info patchlevel
8.6.4
% set auto_path
/usr/local/lib/tcl8.6 /usr/local/lib /usr/lib
% package require Expect
can't find package Expect
% exit
titan:~$ ls -ld /usr/local/bin/tcl*
-rwxr-xr-x  1 root staff 13695 Apr 30 00:21 /usr/local/bin/tcldocstrip*
drwxr-sr-x 23 root staff  4096 Jul  6 14:42 /usr/local/bin/tcllib_examples1.17/
lrwxrwxrwx  1 root staff     8 Jul  6 13:07 /usr/local/bin/tclsh -> tclsh8.6*
-rwxr-xr-x  1 root staff  8272 Jul  6 13:07 /usr/local/bin/tclsh8.6*
titan:~$ ls -ld /usr/bin/tcl*
-rwxr-xr-x 1 root root 6168 Mar 17  2015 /usr/bin/tclsh8.6*
titan:~$ /usr/local/bin/tclsh8.6
% package require Expect
can't find package Expect
% info patchlevel
8.6.4
% set auto_path
/usr/local/lib/tcl8.6 /usr/local/lib /usr/local/lib/tcllib1.17


-- 
Greg Wooledge                  |   "Truth belongs to everybody."
g...@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Reply via email to