Skip to content
Tcl Source Code Artifact [cf2048e94b]
Login

Artifact [cf2048e94b]

Artifact cf2048e94bbb3a0f08be09fcce91bebda5d1762e:

Ticket change [cf2048e94b] - Ticket [1961211fffffffff|1961211fff] <i>TclpDlopen failing on MacOSX 10.4 and later</i> status still Open with 4 other changes by nijtmans on 2008-05-16 15:22:50.
D 2008-05-16T15:22:50
J icomment Logged\sIn:\sYES\s\nuser_id=61031\nOriginator:\sNO\n\n>\sbut\sdon't\scall\sother\speople's\swork\n>\s"broken"\swhen\sit's\sobviously\snot.\nI\sdon't\sconsider\syour\swork\sbroken,\sI\sconsider\sthe\sMac\noption\s-flat_namespace\sbroken\swhen\sused\sin\scombination\nwith\sTcl\sextesions.\sTcl\sexpects\sits\sextensions\sto\sbe\nlinked\susing\sthe\scommand\sdefined\sin\stclConfig.sh\n(see\sTCL_SHLIB_LD\sin\sthat\sfile).\sAdditional\sflags\nare\snot\sTcl's\sreposibility,\ssorry\sfor\sthat.....\n\nSo,\swhat\syou\scan\sdo\sis\screate\sa\sshared\slibrary\scontaining\nthe\sXXX_Init\sfunction\sonly.\sAll\sit\sdoes\sis\sdlopen\sthe\sremaining\nof\sthe\slibraries\swith\sthe\sRTLD_GLOBAL\sflag,\sand\scall\swhatever\nfunctions\sit\swants.\sAll\sother\slibraries\scan\sbe\slegacy\nlibraries,\sand\scompiled\swith\sor\swithout\s-flat_namespace\nwhatever\syou\slike.\sOnly\sthe\slibrary\sthat\sis\sloaded\sby\sTcl\ncannot\sbe\scompiled\swith\s-flat_namespace.\n\nThis\sway,\syou\scan\shave\syour\slegacy\slibraries\sas\syou\slike,\swhile\nthe\sTcl\sextension\sitself,\swhich\sis\sonly\sa\ssmall\swrapper,\sconforms\nwith\sthe\sTcl\sguidelines.\sSo,\syes,\sTcl\ssupports\slegacy\slibraries\njust\sfine,\syou\sonly\shave\sto\swrap\sit\sup\sfollowing\sthe\sTcl\sguidelines.\nIf\sthat\sguidelines\sconflict\swith\show\sthe\slegacy\slibraries\sare\nbuild,\sthen\sthat's\sa\s(solvable)\sproblem.\n\nRegards,\n\s\s\s\s\s\s\sJan\sNijtmans\n\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 1961211fffffffffffffffffffffffffffffffff
U nijtmans
Z b1b1b56c63fd4b0b889a282cae11ad32