Skip to content
Tcl Source Code Artifact [ac39f1ecc2]
Login

Artifact [ac39f1ecc2]

Artifact ac39f1ecc221546ee2a388d4e1ea7e7034880e9b:

Ticket change [ac39f1ecc2] - Ticket [1961211fffffffff|1961211fff] <i>TclpDlopen failing on MacOSX 10.4 and later</i> status still Open with 4 other changes by sebbarre on 2008-05-14 05:24:14.
D 2008-05-14T05:24:14
J icomment Logged\sIn:\sYES\s\nuser_id=214100\nOriginator:\sYES\n\n>\sNo,\sRLTD_LOCAL\sdoes\snot\smean\sthat\sall\sstatic\smembers\sare\sduplicated.\n\nOK,\sgood\sto\sknow.\n\n>\sthere\sis\sa\sproblem\swith\srun-time\sresolution\sof\ssymbols\sin\syour\slibraries.\n\nI\sknow\sTcl/Tk\sis\ssolid,\sbut\sthis\sC++\stoolkit\s(VTK)\sis\smore\sthan\s10\syears\sold.\sWe\shave\swrapped\sit\susing\sTcl\sfor\spretty\smuch\sthe\ssame\samount\stime\s(as\swell\sas\sPython\sand\sJava),\sand\shave\sperformed\s"package\srequire"\sor\scalls\sto\sTcl's\s"load"\sin\shundreds\sof\sTcl\stests\sto\sexercise\sthe\stoolkit\severy\snight,\sfor\syears,\son\sdozens\sof\sUnix\splatforms\sand\sWin32\splatforms,\susing\smany,\smany\scompilers.\sIt\shas\salways\sbeen\sdivided\sinto\sdifferent\sshared\slibraries.\sProblems\sarose\sonly\srecently\swhen\stesting\son\sMacOSX\s>\s10.4\swith\sTcl/Tk\s8.5,\ssince\sit\sis\snow\susing\sdlopen\s(instead\sof\sNSModule).\n\n>\sIt\smight\sbe\sthat\slibrary\sA\sand\sB\sare\scorrect,\sbut\sthe\sproblem\sis\sin\n>\sC\swhich\sis\sused\sby\sboth\sA\sand\sB.\sIt's\shard\sto\stell\sfrom\shere.\n\nPlease\scheck\smy\sfirst\smessage.\sI'm\sfiring\sthe\sshell,\sthen\sloading\sA\s(libvtkCommonTCL).\sThen\sloading\sB\s(libvtkFilteringTCL).\sThe\ssymbol\sit\sis\sclearly\scomplaining\sabout\s(__Z14vtkTclInDeleteP10Tcl_Interp)\s*is*\sin\sA,\snot\sin\sa\slibrary\sthat\swould\sbe\sin\sa\sdependency\sof\sA.\s\n\n>\sI'm\snot\strying\sto\sbreak\scurrently\sworking\scode.\sBut\ssome\splatforms,\n>\slike\swin32,\sdon't\ssupport\sundefined\ssymbols\sin\sdll's\sat\sall,\sso\n>\sif\syour\slibraries\shave\sa\ssymbol\sresolution\sproblem\sit\swill\sbe\n>\simpossible\sto\sport\syour\slibraries\sto\swin32.\n\nThis\stoolkit\shas\sbeen\scross-platform\sfrom\sits\sorigin.\sRegression\stesting\sshows\swe\shave\sno\sresolution\sproblems\son\sWin32\splatforms,\sfrom\sWin\s2000\sto\sVista,\susing\sMsDev6\sto\sVisualStudio8.\sTherefore,\sI'm\sinclined\sto\sthink\sthere\sis\sno\ssymbol\sresolution\sissue\sat\sthe\smoment,\sthough\sI\smight\sbe\swrong,\sbut\swe\sdo\sstress\stest\sVTK\s*a\slot*,\severy\snight,\sand\sin\sa\scontinuous\smanner\sduring\sthe\sday.\s\n\nI\sthink\sthere\sis\sprobably\sa\sgood\sreason\swhy\sthe\sdefault\sis\sRLTD_GLOBAL\sand\snot\sRLTD_LOCAL,\son\sMacOSX,\sas\sopposed\sto\ssome\sother\sOS...\n\nMy\squestion\sis,\sand\sI'm\snot\scertain\syou\sanswered\sit:\swhat\swould\sTcl\s*break*\sby\susing\sRLTD_GLOBAL\sconsistently?\n\n\nI\salso\sdid\ssome\squick\sGoogling:\n\nhttp://groups.google.com/group/comp.lang.perl.misc/msg/a2877cf7e0c656fe\n=>\sthis\sPerl\suser\sseemed\sto\shave\sthe\sexact\ssame\sproblem\swhile\sloading\sa\sPerl\smodule.\n\nAnother\smsg\sthat\sseems\sto\sindicate\sthat\sRLTD_LOCAL\scan\snot\sbe\sused\sif\syou\sload\stwo\slibs\sA\sand\sB,\sB\sdepending\son\sA\s(wherewas\sRLTD_GLOBAL\swould\sallow\sit\sto\swork,\sand\snot\sbreak\sother\sexamples,\sunless\sI\smissed\ssomething)\nhttp://gcc.gnu.org/ml/gcc/2002-05/msg02034.html\n\nThank\syou\n\n\n
J login sebbarre
J mimetype text/plain
J username sebbarre
K 1961211fffffffffffffffffffffffffffffffff
U sebbarre
Z 7b25769591136ca70561c728fe645a2d