solaris shared lib 'broken'
GNU readline for interactive tcl shells
Brought to you by:
joze,
laomaiweng
For some weird reason, libtool isn't building the
shared libraries for tclreadline correctly on
sparc solaris, even though it does it right for
other things like tk, etc.
The tclreadline shared library created doesn't
have the directory dependencies for readline, etc.
in the shared library. This results in tcl being
unable to resolve things during dynamic loading.
Even after I hand code in the -R flags required
by Solaris to be able to resolve the references,
libtool appears to ignore them.
Logged In: NO
I tried to use tclreadline-2.1.0 but it broke.
Platform:
---------
SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-2
gcc-3.0.4
readline-4.3 [with patches]
tcltk-8.4.0
tclreadline-2.1.0
Synopsis:
---------
$ tclshrl
% package require tclreadline
2.1.0
% ::tclreadline::Loop
tclsh8.4 [/tmp]
tclsh8.4 [/tmp] cd /tmp
alloc: invalid block: a64d8: 0 9 63
Abort (core dumped)
$
---------
I consistently get the above behavior.