Artifacts Associated With Ticket 3159088fffffffff
Ticket change [75cc5abe00] (rid 105450) by anyeli on 2011-01-16 04:27:59:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized 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.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "anyeli"
- subsystem initialized to: "40. Dynamic Loading"
- title initialized to: "lazy bindings for dynamic loading"
- type initialized to: "RFE"
Ticket change [beca09bf77] (rid 102139) by nijtmans on 2012-10-22 13:59:45:
- assignee changed to: "nijtmans"
Ticket change [dfbf2da035] (rid 115064) by nijtmans on 2012-10-22 19:21:49:
- closedate changed to: "2012-10-22T12:21:49"
- closer changed to: "nijtmans"
- icomment:
allow_comments - 1 See: TIP #357 <http://tip.tcl.tk/357> The "load" command is not meant to load external libraries, only Tcl extensions. However using the TIP #357 Tcl_LoadFile (for the minimal required functions) followed by Tcl_FindSymbol (for the optional symbols) you should be able to do this. That's the recommended way.
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"
- username: "nijtmans"
Ticket change [261d6cda69] (rid 88285) by nijtmans on 2012-11-08 19:24:53:
- icomment:
allow_comments - 0 See: <http://www.tcl.tk/cgi-bin/tct/tip/416> The use case you are presenting is exactly one described in this TIP
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
- username: "nijtmans"
- icomment:
Ticket change [05581a1068] (rid 89047) by nijtmans on 2013-01-02 22:20:06:
- closedate changed to: "2013-01-02T15:20:06"
- closer changed to: "nijtmans"
- icomment:
allow_comments - 1 Fixed in Tcl 8.6
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "nijtmans"