.
D 2003-01-10T01:04:08
J assignee kennykb
J cmimetype text/plain
J comment Could\snot\sload\sa\s.so\sthat\sused\s8\sother\s.so's.\sAt\sleast\none\sof\sthe\s8\shad\nan\sunused\sfunction\sin\sit\swhich\sreferred\sto\sa\sfunction\nin\sanother\sof\sthe\n8.\sThis\swas\sreported\sas\sundefined.\n\nI\sencountered\sthis\sin\s8.0p2\sbut\sit\slooks\sas\sif\s8.4.1\nwill\shave\sthe\ssame\nproblem.\n\nSorry\sthere's\sno\stest\scase\sbut\sthe\sfollowing\spatch\nfixed\sit\sfor\sme:\n\n---\stclLoadDl.c\s2003/01/09\s18:20:23\s\s\s\s\s1.1\n+++\stclLoadDl.c\s2003/01/09\s18:20:26\n@@\s-70,7\s+70,7\s@@\n\s\s\s\s\sVOID\s*handle;\n\s\s\s\s\sTcl_DString\snewName;\n\s\n-\s\s\s\shandle\s=\sdlopen(fileName,\sRTLD_NOW\s|\sRTLD_GLOBAL);\n+\s\s\s\shandle\s=\sdlopen(fileName,\sRTLD_LAZY\s|\nRTLD_GLOBAL);\n\s\s\s\s\sif\s(handle\s==\sNULL)\s{\n\s\s\s\s\s\s\s\sTcl_AppendResult(interp,\s"couldn't\sload\sfile\n\\"",\sfileName,\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\\":\s",\sdlerror(),\s(char\s*)\sNULL);\n\nI.e.\sdon't\stry\sto\sresolve\sstuff\swe\smay\snever\sneed.\n\nA\s"proper"\spatch\swould\shave\s#ifdef\sRTLD_LAZY\setc.\n\nPlatform:\sLinux\s2.4.18,\slibc6\s2.2.5,\si486
J foundin obsolete:\s8.0p2
J priority 5\sMedium
J resolution None
J status Open
J submitter duncanroe
J subsystem 40.\sDynamic\sLoading
J title load\sfails\swith\sundefined\ssymbol\smessage\s(suggested\sfix)
J type Bug
K 665431ffffffffffffffffffffffffffffffffff
U duncanroe
Z 4728fb290cb088cd2447e61a4a1e3e33