Forum OpenACS Q&A: Response to Impact of Exec on server performance

Collapse
Posted by Dan Wickstrom on
When you install aolserver, it recreates the tcl lib directory and includes the default packages that are part of the tcl distribution.  I think you can just copy the TclCurl package there and it should work with package require.  As an example, I have aolserver installed in /usr/local/aolserver, and the tcl libs are at /usr/local/aolserver/lib/tcl8.3, so if I were to install TclCurl, I would copy the tclcurl package directory to /usr/local/aolserver/lib/tcl8.3.

This should work with package require, but if libcurl is not thread-safe, you will still need to create a wrapper for the TclCurl commands that serializes access using a mutex.