Re: problem making tkined and scotty

Jan-Peter Richter (richter@ro2.informatik.uni-hamburg.de)
Tue, 30 Apr 1996 17:38:47 +0200 (MET DST)

>
> I just finished building tkined 1.3.4 on linux 1.2.13. When I attempt to
> run it I get the error:
>
> >tkined
> can't read "argv": no such variable
>
> --
> 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'
>
>
> Any assistence will be appreciated.
>
> Mike
>

I had similar problems with building the Mbone videoconferencing tool 'vic'
(Version 2.7b1) which also uses tcl/tk. It turned out that I had to compile
tcl (Version 7.5b3) without the option for _d_ynamic _l_oading because
on my SunOS4.1.3_U1 system there is no static library /usr/lib/libdl.a
thus statically binding any application with /usr/local/tcl/lib/libtcl.a
will lead to unresolvable references. Another possibility may be to
dynamically link scotty (if you have something like /usr/lib/libdl.so.1.0)

Jan-Peter Richter