[SunHELP] expect script in cron fails.

Sheldon T. Hall shel at cmhcsys.com
Sat Jul 26 12:48:14 CDT 2003


 Philips Anwin-Q16166 writes ...

> ld.so.1: /usr/local/bin/expect: fatal: libtcl8.2.so: open failed:
> No such file or directory
> Killed
>
>
> Any idea to get this working?

The file libtcl8.2.so is either (a) not on your disk or (b) on the disk but
not in the path the library loader searches for its files.

Does the expect script work from the command line?

Is Tcl installed?

Is the directory containing libtcl8.2.so on the search path for library
loads _for_programs_run_by_cron_?  Remember that cron's environment may be
different from the "normal" environment.  Use the LD_LIBRARY_PATH
environment variable to add the directory, if neccessary.

-Shel



More information about the SunHELP mailing list