Can't find package from application written in Tcl
问题 Thanks to the comments, better understand the problem a bit. The variables: thufir@dur:~/tcl/packages$ thufir@dur:~/tcl/packages$ echo 'puts $auto_path' | tclsh /usr/share/tcltk/tcl8.6 /usr/share/tcltk /usr/lib /usr/local/lib/tcltk /usr/local/share/tcltk /usr/lib/tcltk/x86_64-linux-gnu /usr/lib/tcltk /usr/lib/tcltk/tcl8.6 thufir@dur:~/tcl/packages$ thufir@dur:~/tcl/packages$ echo 'puts $tcl_pkgPath' | tclsh /usr/local/lib/tcltk /usr/local/share/tcltk /usr/lib/tcltk/x86_64-linux-gnu /usr/lib