- Compile tcl-8.5.8:
$ ./configure ... $ make $ sudo make install $ sudo make install-private-headers
- Follow instructions of this post.
- OSX has no ldconfig and /etc/ld.so.conf. To run the compiled expect, first export DYLD_LIBRARY_PATH=/usr/local/expect-5.44.1.15/lib/expect5.44.1.15. Man dyld for more details.