Forum OpenACS Development: Re: On start "No Tcl thread library installed.." in /usr/local/ns/bin/../lib/

Thank you, Gustaf.

For some reason, Freebsd doesn't interpret the relative reference in the glob pattern.

For anyone using freebsd:

Since the standard config.tcl sets bindir as homedir/bin, this glob works for freebsd (as well perhaps as other OSes):

"${homedir}/lib/thread*/libthread*[info sharedlibextension]*"

but to keep reference to $bindir from existing glob, this works too:

"[string range ${bindir} 0 end-4]/lib/thread*/libthread*[info sharedlibextension]*"

cheers,
Ben

ok. strange, that directory traversal causes troubles under freebsd, but - as you saide - technically, this is not needed. I've added the path relative to $homedir to the sample config file of naviserver, and fixed the sample config file for aolserver as well (that used the oldest instead of the newest version when multiple versions are around). ss

-g