Date: Wed, 12 Dec 2001 09:32:05 -0600 From: Nathan Ahlstrom <nrahlstr@winternet.com> To: freebsd-libh@FreeBSD.org Subject: hello_world example error. Message-ID: <20011212093205.A8968@winternet.com>
next in thread | raw e-mail | index | archive | help
Has anyone seen this error when trying to run doc/examples/hello_world.tcl? Does anyone know how to fix this, I have tried adding an explicit 'load' call for libtvision and libncurses, but without success. ahlstn1-laptop {27} % tclsh8.3 hello_world.tcl couldn't load file "../../compile/text+graphics/libhui.so.0": ../../compile/text+graphics/libhui.so.0: Undefined symbol "__ti7TWindow" while executing "load ../../compile/text+graphics/libhui.so.$H_VERSION" (file "hello_world.tcl" line 26) I had to adjust the 'load' path in the file, apply the following diff to see the changes. Index: hello_world.tcl =================================================================== RCS file: /home/libh/cvs/libh/doc/examples/hello_world.tcl,v retrieving revision 1.4 diff -u -r1.4 hello_world.tcl --- hello_world.tcl 2001/06/17 12:48:25 1.4 +++ hello_world.tcl 2001/12/12 15:30:37 @@ -20,11 +20,11 @@ # ---------------------------------------------------------------------- -load ../../lib/common/libh.so.$H_VERSION -load ../../lib/tcl/libhtcl.so.$H_VERSION -load ../../lib/file/libhfile.so.$H_VERSION -load ../../lib/hui/libhui.so.$H_VERSION -load ../../lib/tcl/libhtclhui.so.$H_VERSION +load ../../compile/text+graphics/libh.so.$H_VERSION +load ../../compile/text+graphics/libhtcl.so.$H_VERSION +load ../../compile/text+graphics/libhfile.so.$H_VERSION +load ../../compile/text+graphics/libhui.so.$H_VERSION +load ../../compile/text+graphics/libhtclhui.so.$H_VERSION # ---------------------------------------------------------------------- Nathan -- Nathan Ahlstrom / nra@NetBSD.org / nra@FreeBSD.org / GPG: 0x67BC9D19 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011212093205.A8968>