Bugzilla – Bug 103047
"package require Tkspline": can't find package Tkspline
Last modified: 2005-08-09 15:17:46 UTC
Reinhard, the graphviz-tcl package includes a file /usr/share/tcl/graphviz/pkgIndex.tcl that is somehow supposed to make lines like "package require Tkspline" work. Could you please explain to me how that works, and what's broken in the package currently? Thanks!
We resolved it in a personal talk. Short summary: the shared objects that are loadable by Tcl/Tk have to be located under %_libdir rather than a package-speciffic subdir of it, and pkgIndex.tcl has to be changed to load them by unqualified name rather than relative to the directory where the script itself is located.