Artifacts Associated With Ticket b7ca5ab0107215c9
Ticket change [1c4ccf0418] (rid 176877) by anonymous_19 on 2019-11-11 05:27:13:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hi, I am working with expect 5.45.4 ,I was able to build and install the package successfully on AIX machine and created binaries when i run the binaries for testing shows the following error, can't find package Expect while executing "package require Expect" (file "/opt/freeware/bin/autoexpect" line 6) code in binary file: #!/bin/sh # -*- tcl -*- # The next line is executed by /bin/sh, but not tcl \ exec tclsh "$0" ${1+"$@"} package require Expect By setting the env for the TCLLIB path as, export TCLLIBPATH="/opt/freeware/lib64/tcl8.6" ========this will solve the problem, but solution need to be set manually , i want this solution to be included in expect script file and generate the binary file with fix Can i get help with this? TCL_Version 8.6.8 TK_Version 8.6.8 AIX Version 6.1 Thanks, Ashwini - foundin initialized to: "8.6.8"
- is_private initialized to: "0"
- login: "anonymous_19"
- priority initialized to: "5 Medium"
- private_contact initialized to: "32e2edb5038937a3935a2334cffeaf159f87e594"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "anonymous_19"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "TCL LIB ENV for expect package"
- type initialized to: "Bug"
Ticket change [6f21c92fe4] (rid 258008) by serhiy.storchaka on 2026-10-14 14:20:20:
- icomment:
Not a Tcl bug: Expect was installed in a directory that is not in the package path of this tclsh. Install it into a directory listed in <code>$auto_path</code>, or add the directory in the script with <code><nowiki>lappend auto_path /opt/freeware/lib64/tcl8.6</nowiki></code> before <code>package require Expect</code>.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- icomment:
Ticket change [7990606be7] (rid 259915) by serhiy.storchaka on 2026-10-22 17:19:25:
- closedate changed to: "2461328.097456447"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"