Skip to content
Tcl Source Code Artifact [1f2b509e98]
Login

Artifact [1f2b509e98]

Artifact 1f2b509e983675b966183a59cc5d7b6e1945f69f:

Ticket change [1f2b509e98] - 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-13 22:31:36.
D 2008-05-13T22:31:36
J icomment Logged\sIn:\sYES\s\nuser_id=214100\nOriginator:\sYES\n\nJan,\n\nThanks\sfor\syour\scomment.\nHowever,\sI\sthink\syour\sstatement\smight\sbe\sincorrect:\n\n>\sThe\s'correct'\sway\sto\ssolve\sthis\sis\smake\ssure\sthat\swhen\scompiling\sB,\n>\smake\ssure\sto\sadd\s'-lA'\sto\sthe\slink\sline,\sthen\sB\swill\n>\ssee\sthe\ssymbols.\sAdditional\sadvantage:\sloading\sB\swill\sload\sA\n>\sautomatically\swhen\sit\sis\snot\salready\sdone.\n\nOur\slibraries\swere\slinked\sthat\sway.\sIf\syou\scheck\smy\sfirst\semail,\syou\swill\ssee\sthat\sI\sran\s"otool\s-L"\sagainst\slibvtkFilteringTCL,\sand\sit\scorrectly\sreports\slibvtkCommonTCL\sas\sa\sknown\sdependency.\sI\salso\sjust\sdouble-checked\sour\slink\sline,\sit\sis\scorrect.\sSo\swe\ssuspect\sthe\sproblem\sis\son\sthe\sdlopen\sside\sand\sthat\svery\sspecific\sflag.\n\nBut\seven\sif\sit\sdid\swork\swith\sRLTD_LOCAL,\sthere\swould\sbe\sa\sproblem\swith\sglobal\svariables\s(i.e.\sstatic\smembers\sof\sclasses\sfor\sexample).\sThey\swould\sbe\sduplicated\sif\seach\slibrary\sgets\sits\sown\sversion\sof\sthem,\sand\shell\swould\sbreak\sloose.\n\n>\sBecause\stclLoadDl\suses\sRLTD_GLOBAL\sas\swell,\sprobably\sthere\sare\salready\n>\slibraries\sout\sthere\swho\sfail\sto\sindicate\sall\slinked\slibraries.\s\n>\sTherefore,\sI\swould\srecommend\sto\schange\sit\sto\sRLTD_GLOBAL\n>\sin\stclLoadDyld.c\sas\swell.\s\n\nWould\sbe\sgreat.\n\n>\sHowever,\sI\ssuggest\sto\schange\sit\sto\sRLTD_LOCAL\sin\sTcl\s8.6,\sand\n>\sdocument\sthe\schange\sclearly.\n\nI'm\safraid\sI\sdon't\sfollow\sthe\srational\shere.\sNot\sonly\swould\sthe\s(reasonable)\sexample\sI\sdescribe\sin\smy\sfirst\semail\sfail\son\sMacOSX\s>=\s10.4\s(it\sdoes\sfail,\sI\sassure\syou),\s\sbut\sit\swould\sstart\sfailing\son\sall\sour\sothers\sUnix\splatforms.\sWe\shave\snightly\sregressions\stests\shere\sthat\sshow\sit\sworks\sfine\son\sour\sUnix\ssystems\sand\sMacOSX\s<\s10.4.\sIt\swould\sbe\sunfortunate\sif\sthat\ssituation\swas\sreverted.\n\nThank\syou\n
J login sebbarre
J mimetype text/plain
J username sebbarre
K 1961211fffffffffffffffffffffffffffffffff
U sebbarre
Z da3ec5c937bbb2c703bdc46b432339d9