[GRASS5] Tcl8.4 support?
Hamish
hamish_nospam at yahoo.com
Tue Sep 16 22:41:39 EDT 2003
Bug #1:
> > maybe this can help shed some light:
> > http://mail.python.org/pipermail/python-dev/2002-December/031107.html
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=171353
> > "threading is an 8.4 feature. It's not even an option in 8.3."
> FWIW, does libtcl itself have a dependency upon libpthread
> (according to ldd)? Or, for that matter, libGL?
Yes & yes.
$ ldd /usr/lib/libtcl8.4.so
libdl.so.2 => /lib/libdl.so.2 (0x400b0000)
libpthread.so.0 => /lib/libpthread.so.0 (0x400b4000)
libm.so.6 => /lib/libm.so.6 (0x40103000)
libc.so.6 => /lib/libc.so.6 (0x40124000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
$ ldd /usr/lib/libGL.so
libpthread.so.0 => /lib/libpthread.so.0 (0x40078000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400c8000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400d5000)
libdl.so.2 => /lib/libdl.so.2 (0x40190000)
libc.so.6 => /lib/libc.so.6 (0x40193000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> One other thing which might be instructive would be to build your own
> tclsh and/or wish executables (the source code for these programs is
> normally installed as e.g. /usr/lib/tcl8.4/tclAppInit.c and
> /usr/lib/tk8.4/tkAppInit.c), both with and without -lpthread, and see
> how "exec" behaves. If libtcl doesn't have a dependency upon
> libpthread, but a self-built tclsh/wish doesn't work without you
> adding -lpthread to the link command, that suggests that libtcl needs
> to have that dependency added.
That will have to wait until next week, but libtcl has it ..
regards,
Hamish
More information about the grass-dev
mailing list