Skip to content
Tcl Source Code Artifact [67cc2699b5]
Login

Artifact [67cc2699b5]

Artifact 67cc2699b536f8630281c186125a2b6d7e21e3f1:

Ticket change [67cc2699b5] - Ticket [3033027fffffffff|3033027fff] <i>load: loaded shared libraries don&#39;t export symbols (OS X)</i> status still Open with 4 other changes by ferrieux on 2010-07-22 19:41:15.
D 2010-07-22T19:41:15
J icomment On\ssecond\sthought,\sI\srealize\sthat\sthe\serror\smessage\sis\snot\sat\sthe\ssymbol\slevel,\sbut\sat\sthe\sdependency\slevel,\sso\sindeed\sRTLD_GLOBAL\sis\snot\sreally\sconcerned.\sNow,\sthere\sare\stwo\sways\sof\sloading\sa\slibrary:\seither\simplicitly\sthrough\sdependency,\sor\sprogrammatically\swith\sdlopen().\sA\sis\sloaded\sthrough\sdlopen(),\sthen\sB\stoo,\sand\sB\simplicitly\sneeds\sA,\sbut\sat\sthis\spoint\sin\stime,\sA\sis\s*not*\s"implicitly\sloaded".\s\n\nSo,\s*if*\sOSX\smaintains\stwo\sseparate\slists\sof\sdylds,\sone\simplicitly\sloaded,\sthe\sother\sdlopened(),\sthat\scould\sexplain\sthe\sbehavior.\sDaniel,\sis\sthis\spossible\s?\n\nAnd\sif\sit\sis\sthe\scase,\sthen\sthe\ssolution\sis\sto\srefactor\sA\sso\sthat\sit\scontains\sonly\sthe\sTcl\sAPI\sentry\spoints\sneeded\sfor\san\sextension,\sand\sshove\sall\sthe\suseful\sshareable\scode\sinto\sa\s3rd\slibrary\sC,\son\swhich\sA\sdepends.\sHence,\s[load\sA]\salso\sloads\sC\sbut\son\sthe\simplicit\slist.\sThen\sdo\sthe\ssame\sfor\sB,\sand\sC\sshould\sbe\sreused\sas\sis.\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3033027fffffffffffffffffffffffffffffffff
U ferrieux
Z 7b42afaefff206522fcb43364ff5387a