Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 75cc5abe00335fdfd007a8eadc3d51e1c5349cfc
Ticket: 3159088fffffffffffffffffffffffffffffffff
lazy bindings for dynamic loading
User & Date: anyeli on 2011-01-16 04:27:59
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I would like to have the option of having the dynamic loader perform lazy binding.
    
    As of Tcl 8.5.9, the UNIX implementation of dynamic loading always passes RTLD_NOW to dlopen().
    I want to build an extension that links to a dynamic library without having to link to an exact (or maximum)
    version of the library.  With RTLD_NOW, if the library I link to is missing some symbols, I cannot load
    the library at all if it is missing any symbols.  With RTLD_LAZY, I could link to the library missing symbols,
    and avoid referencing them by using run-time version checks.  I do not know of a way of doing the same
    thing with RTLD_NOW without a lot of extra work.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "anyeli"
  10. subsystem changed to: "40. Dynamic Loading"
  11. title changed to: "lazy bindings for dynamic loading"
  12. type changed to: "RFE"