Skip to content
Tcl Source Code Artifact [f0590dc4b8]
Login

Artifact [f0590dc4b8]

Artifact f0590dc4b8b293d88839301da027fbac9c82181f:

Ticket change [f0590dc4b8] - New ticket [874302ffffffffff|874302ffff] <i>prevent picking up wrong lib during static build on OSF/1</i>. by rcalmbac on 2004-01-10 06:00:58.
D 2004-01-10T06:00:58
J assignee stwo
J cmimetype text/plain
J comment Ok,\sthis\sis\sa\stricky\sone.\sFor\sTcl\s8.4.5,\swhen\sbuilding\nthe\sstatic\slib\s(configure\s--disable-shared)\son\sDigital\nOSF/1\sV4.0,\sit\scan\shappen\sthat\sa\slibtcl8.4.so\sfile\sin\sa\nsystem\slibrary\sdirectory\s(e.g.,\sfrom\sa\sprevious\ninstallation\sof\san\searlier\spatch\srelease)\sis\spicked\sup\nwhen\slinking\stclsh\sand\stcltest,\sinstead\sof\sthe\sintended\nlibtcl8.4.a\sin\sthe\spresent\sworking\sdirectory.\sThis\sis\ndue\sto\sthe\ssearch\salgorithm\sused\sby\sthe\sOSF/1\slink\neditor\s(quote\sfrom\s"man\sld"):\n\n\s\sWhen\slinking\s[...],\sld\ssearches\sall\slibrary\ndirectories\sfor\sthe\n\s\sshared\sobject\slibrary\s(libx.so).\sIf\sit\scannot\sfind\nthe\sshared\sobject\n\s\slibrary,\sit\sagain\ssearches\sall\slibrary\sdirectories\nfor\sthe\sarchive\slibrary\n\s\s(libx.a).\n\nThis\sis\sdifferent\sfrom\sthe\ssearch\salgorithm\sof\sld\son\nSolaris,\sfor\sinstance.\sIn\sorder\sto\sensure\sthat\sthe\nintended\slibrary\sis\spicked\sup\son\sOSF/1\snot\sonly\sduring\nshared\sbut\salso\sduring\sstatic\sbuild,\sI\spropose\sto\nchange\sline\s1349\sin\sunix/tcl.m4\sfrom\n\n\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS=""\n\nto\n\n\s\s\s\s\s\s\s\s\s\s\s\sLDFLAGS="-oldstyle_liblookup"\n\nThe\sman\spage\sfor\sld\ssays:\n\n\s\s-oldstyle_liblookup\n\s\s\s\s\s\sCause\sld\sto\ssearch\seach\slibrary\sdirectory,\sfirst\nfor\sthe\sshared\sobject\n\s\s\s\s\s\slibrary\s(libx.so)\sand\sthen\sfor\sthe\sarchive\nlibrary\s(libx.a).\n\nSo,\sthat\swould\sbe\slike\sthe\ssearch\salgorithm\sof\sld\son\nSolaris.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter rcalmbac
J subsystem 53.\sConfigure\sand\sBuild\sTools
J title prevent\spicking\sup\swrong\slib\sduring\sstatic\sbuild\son\sOSF/1
J type Patch
K 874302ffffffffffffffffffffffffffffffffff
U rcalmbac
Z 52757e46bdf596d051c941bd77a1e2af