Skip to content
Tcl Source Code History Of Ticket 3598299fffffffff
Login

History Of Ticket 3598299fffffffff

Artifacts Associated With Ticket 3598299fffffffff

  1. Ticket change [ee437c80fa] (rid 104052) by roflz on 2012-12-24 08:06:28:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      the tcl compilation and installation only creates libtcl8.6.so, but not libtcl.so
      
      so it impossible to link against the .so without knowing the exact version.
      since the pkgconfig file does omit this entry (bug #3598282), the only way to get the right dll to link against is by either source'ing the proprietary TclConfig.sh or grepping the /lib directory for libtcl*.so
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "roflz"
    10. subsystem initialized to: "None"
    11. title initialized to:
      unix: tcl does not create non-versioned symlinks for dso
      
    12. type initialized to: "Bug"
  2. Ticket change [eda9848e05] (rid 103927) by roflz on 2012-12-24 15:15:28:

    1. assignee changed to: "stwo"
  3. Ticket change [ffb9bddfd2] (rid 108804) by nijtmans on 2012-12-24 15:16:37:

    1. assignee changed to: "nijtmans"
    2. closedate changed to: "2012-12-24T08:16:37"
    3. closer changed to: "nijtmans"
    4. foundin changed to: "current: 8.6.0"
    5. icomment:
      This is by design. Extensions should not link with libtcl8.6.so, only with
      libtclstub8.x.a, this way the extension becomes runnable with
      whatever (compatible) Tcl version is available. The TEA
      (Tcl Extension Architecture) system handles just that.
      
      There is work ongoing to make the stub library unversioned
      (tclstub.a), but that work is not complete yet. Expected
      (hopefully) in Tcl 9.0
      
      
    6. login: "nijtmans"
    7. mimetype: "text/plain"
    8. resolution changed to: "Invalid"
    9. status changed to: "Pending"
    10. subsystem changed to: "85. tclconfig"
    11. username: "nijtmans"
  4. Ticket change [dbd564274b] (rid 108028) by roflz on 2012-12-24 15:20:19:

    1. icomment:
      note that even creating libtcl.so.8.6 would be sufficient to link against -ldl
      
      i wonder why tcl does things different than anybody else for no good reason
      
      
    2. login: "roflz"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "roflz"
  5. Ticket change [12e40a3733] (rid 124123) by roflz on 2012-12-24 15:22:44:

    1. icomment:
      ah thanks, good to know. my irc chat plugin needs to link against libtcl, and this turned out to be crazy difficult with standard approaches.
      
      
    2. login: "roflz"
    3. mimetype: "text/plain"
    4. username: "roflz"
  6. Ticket change [3bbe70217e] (rid 112797) by dkf on 2012-12-26 07:39:03:

    1. icomment:
      The problem is that different platforms have different rules; it's really irritating when one is stuck between one group of loud people insisting that certain features are removed, another group that they work in method A out of the box, and a third group that want things to use method B. The only way to accommodate such things is by putting a horrible chunk of disgusting code in the autoconf-based machinery to adapt to all of these things (note that it's not done just by platform; the requirements of distributors, sysadmins and ordinary users on the same platform in this area are wildly divergent). The adding of the correct extra symlinks in the right places for a particular linux distribution is left to the distro's packaging maintainer.
      
      As it happens, we don't really recommend such relinking as you refer to except within a "minor" version series (one of which has 8.6.0 as the first member) because some functions have changed API/ABI mappings between versions. (Pure API or ABI compatibility is maintained through the use of stubbed linking, but some of the things done by general dynamic linkers are not.)
      
      I imagine that libtcl ought to go on your platform as libtcl8.6.so.0.0 or something like that, but I've not really thought about that. (Also, not that we consider it fine for a single system to have and make available 8.4, 8.5 and 8.6 at the same time; Tcl's designed to support that sort of thing. And commercial uses of Tcl will probably bind to a specific library instance at build time rather than allowing relinking; having a known baseline beats saving disk space.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [b186e6bb7b] (rid 133103) by jan.nijtmans on 2013-07-30 12:01:14:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2456504.00086711"
    3. closer changed to: "jan.nijtmans"
    4. comment changed to:
      the tcl compilation and installation only creates libtcl8.6.so, but not libtcl.so
      
      so it impossible to link against the .so without knowing the exact version.
      since the pkgconfig file does omit this entry (bug #3598282), the only way to get the right dll to link against is by either source'ing the proprietary TclConfig.sh or grepping the /lib directory for libtcl*.so
      
    5. icomment: "Ticket moved to "tclconfig""
    6. login: "jan.nijtmans"
    7. mimetype: "text/plain"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"