.
D 2004-01-10T00:08:48
J assignee stwo
J cmimetype text/plain
J comment For\sTcl\s8.4.5,\swhen\sbuilding\sthe\sshared\slib\s(configure\n--enable-shared)\son\sDigital\sOSF/1\sV4.0,\suser\nexecutables\sthat\slink\sagainst\slibtcl8.4.so\s(-ltcl)\sand\nthat\sdon't\sneed\sthe\smath\slibrary\slibm.so\sthemselves,\nsuddenly\sneed\sa\s-lm\son\sthe\slink\scommand\sline,\sotherwise\nthere\swill\sbe\sruntime\serrors\sdue\sto\sunresolved\ssymbols\nfrom\slibm.so.\sPreviously\s(with\sTcl\s8.3.4),\sit\swas\snot\nnecessary\sto\shave\sthe\s-lm\sflag,\sso\sthe\sTcl\supgrade\nbreaks\sexisting\suser\sMakefiles.\n\nI\sfound\sthat\sbuilding\slibtcl8.4.so\swith\s-lm\son\sthe\slink\ncommand\sline\ssolves\sthe\sproblem.\sThis\sseems\sto\sput\nenough\sinformation\sinto\slibtcl8.4.so\sfor\sthe\sruntime\nlinker\sto\sbe\sable\sto\sresolve\sall\ssymbols.\sSo\sinstead\sof\n\nld\s-shared\s-expect_unresolved\s"*"\s-o\slibtcl8.4.so\s\n${OBJS}\s-rpath\n/work/cvim1/src/tcl/tcl8.4.5/install/osf1-alpha/lib\n\nI\sdo\n\nld\s-shared\s-expect_unresolved\s"*"\s-o\slibtcl8.4.so\s\n${OBJS}\s-lm\s-rpath\n/work/cvim1/src/tcl/tcl8.4.5/install/osf1-alpha/lib\n\nThis\sis\seasily\saccomplished\sby\sdoing\n\n$\sgmake\sSHLIB_LD_LIBS=-lm\n\nSo,\sa\sway\sto\sfix\sthis\sproblem\swould\sbe\sto\schange\sline\n1345\sin\sunix/tcl.m4\sfrom\n\n\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD_LIBS=""\n\nto\n\n\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD_LIBS="-lm"
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 missing\s-lm\swhen\sbuilding\sshared\slib\son\sOSF/1
J type Patch
K 874194ffffffffffffffffffffffffffffffffff
U rcalmbac
Z 212fde256390db0b11683a3f2ffa0a95