Mark Newnham
Haagen-Dazs
Paris
----------------------------------------------------------------------------
Hi!
mike thatcher <thatcher@rahul.net> wrote:
> After compiling scotty, the link fails with the following
> cc -o scotty scotty.o libscotty.a /usr/lib/libtk4.0.a -L/usr/X11R6/lib
> -lX11 /usr/lib/libtcl7.4.a -lieee -lm
> tclExtension.o(.text+0x10): undefined reference to `dlopen'
> tclExtension.o(.text+0x46): undefined reference to `dlsym'
> tclExtension.o(.text+0x4d): undefined reference to `dlerror'
> tclExtension.o(.text+0x7e): undefined reference to `dlclose'
Adding -ldl to the link step should help. However, the strange thing
is that Tcl 7.4 does not have a module named tclExtension.o. So you
have a strange Tcl/Tk version.
> I just finished building tkined 1.3.4 on linux 1.2.13. When I
> attempt to run it I get the error:
> can't read "argv": no such variable
The argv variable is documented in the tclsh/wish man pages and
initialized in the Tcl/Tk library. Just fix your Tcl/Tk setup.
It is broken.
Juergen
---- End of mail text