Overview
| Artifact ID: | 753a2d523e6da8f2af764ce3d321d4e7c9997abc |
|---|---|
| Ticket: | 1961211fffffffffffffffffffffffffffffffff
TclpDlopen failing on MacOSX 10.4 and later |
| User & Date: | nobody on 2008-05-14 05:59:39 |
Changes
- icomment:
Logged In: NO > My question is, and I'm not certain you answered it: what would Tcl > *break* by using RLTD_GLOBAL consistently? Using RLTD_LOCAL would allow two versions of the same library cooperate without problems. e.g. suppose we have a library libtclcrypt.so that depends on libssl.so.1 and another libtclssl.so which depends on libssl.so.2. Then, even if libssl.so.1 and libssl.so.2 have the same symbols, both Tcl extensions can cooperate fine. Using RLTD_GLOBAL the outcome is platform-dependant. If there is only one version of each library, then it is highly unlikely that such a thing happens. But you can never assure that two different libraries don't define the same symbol (e.g. myalloc()) and by accident both export them. Which myalloc() will be used then?...... Anyway, I rest my case.
- login: "[email protected]"
- mimetype: "text/plain"
- username: "[email protected]"