tcl-mod_dtcl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Greaves <Simon.Grea...@usp.ac.fj>
Subject Re: mod_dtcl 0.12 problem: Tcl_GetChannelName
Date Wed, 24 Jul 2002 02:48:23 GMT
On Tue, Jul 23, 2002 at 06:11:10PM -0700, David N. Welton wrote:
 
> Simon Greaves <Simon.Greaves@usp.ac.fj> writes:
> 
> > I'll fixup the RedHat RPM's appropriately.
> 
> Thanks for having a look at this!
> 
> So, is the problem completely on our side, or should we also file a
> bug with Redhat?

I don't really know why this causes a problem, the flags:

  -Wl,-soname,libtcl.so.0

should cause the shared object to be linked to libtcl.so.0 at runtime,
and sure enough, libtcl.so.0 exists with symlinks for libtcl8.3.so and
libtcl.so pointing at it. Furthermore, using ldd on mod_dtcl.so
compiled _without_ these flags shows:

$ ldd mod_dtcl.so
        libtcl.so.0 => /usr/lib/libtcl.so.0 (0x4001d000)
        libdl.so.2 => /lib/libdl.so.2 (0x4009e000)
        libm.so.6 => /lib/i686/libm.so.6 (0x400a1000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

note that it will link to libtcl.so.0 at runtime, so why it doesn't
work if that library is explicitly referenced using the -soname flag
is a bit odd - linker bug perhaps?...

I don't think it would hurt to let RedHat know about this.

Simon
-- 
Simon Greaves            Voice: +679 3212114
Systems & Networks       Fax:   +679 3304089
ITS, USP, Suva           Email: Simon.Greaves@usp.ac.fj
Fiji

---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org


Mime
View raw message