<i>ldconfig was not ran, so libtcl8.5.so was not found later</i> status still Open with 4 other changes
by
.
D 2011-09-01T05:16:39
J icomment Hi!\sI'm\sthe\sperson\swho\smaintains\sthe\sbuild\sof\sopenMSX.\n\nIt\smight\shelp\sto\ssummarize\sthe\ssituation:\n-\sjoxy\sinstalled\sTcl\sfrom\ssource\sbecause\sUbuntu\sLTS\shad\sTcl\s8.4\swhile\sthe\smost\srecent\sopenMSX\srelease\sneeds\sTcl\s8.5\n-\sUbuntu\sdid\shave\s/usr/local/lib\sin\sthe\sld.so\sconfiguration,\sbut\sbecause\sthe\scache\swas\snot\supdated\sit\scould\snot\sbe\sfound\n-\sopenMSX\sfinds\sTcl\sby\slooking\sfor\stclConfig.sh\sin\stypical\slocations\sthat\sdistros\sput\sit\sin;\sthis\shas\sadvantages\sand\sdisadvantages,\sbut\sit\sgenerally\sworks\swell\n-\sin\sits\sdefault\sbuild\smode,\sopenMSX\slinks\sdynamically\sto\ssystem-wide\slibraries\susing\s-L\sand\s-l,\sno\srpath\n\nI\sthink\srpath\sis\snot\sreally\sthe\sissue\shere:\sopenMSX\sdoes\snot\ssupport\scompilation\sagainst\sTcl\sin\snon-standard\slocations\sanyway,\ssince\sit\swill\snot\slook\sfor\stclConfig.sh\sthere\sand\stherefore\swon't\sfind\sTcl\sat\sall.\sopenMSX\shas\sa\ssecond\sbuild\smode\swhere\swe\sinstall\sall\sdependencies\sas\snon-root\sand\slink\sstatically\sto\sthem,\sso\swe\sdo\scover\sthe\snon-root\sscenario\sbut\sin\sa\sdifferent\sway.\n\nThe\ssituation\sthat\sjoxy\sencountered\sis\swhere\sTcl\sis\sinstalled\sin\sa\sstandard\slocation\s(/usr/local)\sand\slinked\sdynamically.\sSo\sthe\sdynamic\sloader\scan\sfind\slibtcl\swithout\sextra\shelp\sfrom\srpath\sor\sLD_LIBRARY_PATH,\sprovided\sthat\sits\scache\sis\sup-to-date.\sThe\squestion\sis\swhether\sthe\suser\sshould\supdate\sthe\sld.so\scache\sby\srunning\sldconfig\sor\swhether\sthe\s"make\sinstall"\starget\sof\sTcl\sshould\sdo\sthat.\n\nI\sdon't\sthink\sthere\sis\sa\s"correct"\sanswer\sto\sthat,\showever\sthere\sseems\sto\sbe\sa\strend\sof\slibraries\srunning\sldconfig\son\sinstallation.\sWhen\sI\sfirst\sstarted\susing\sLinux\s(10+\syears\sago)\sI\salways\shad\sto\sdo\sit\sby\shand,\swhile\snowadays\sit\sis\srare\sthat\sI\shave\sto\sdo\sit\sby\shand.\sApparently\sjoxy\swas\snot\saware\sthat\sthe\scache\sneeded\supdating\sin\sthe\sfirst\splace\sand\sthis\sis\sprobably\strue\sfor\smore\susers.\n\nA\spossible\ssolution\swould\sbe\sfor\sthe\sTcl\s"make\sinstall"\starget\sto\scheck\sfor\sa\sGNU\ssystem\sand\suid\s0\sand\sif\sboth\sare\sthe\scase,\srun\s"ldconfig"\sas\sthe\slast\scommand\sof\sthe\sinstallation.\sThis\sdoes\snot\sconflict\swith\srpath\sand\sit\sdoes\snot\sconflict\swith\snon-root\sinstallations,\sbut\sit\sdoes\ssolve\sthe\sissue\sjoxy\sran\sinto.\n\n
J login mthuurne
J mimetype text/plain
J username mthuurne
K 3401063fffffffffffffffffffffffffffffffff
U mthuurne
Z c2e092f7daefec22fcafeb0778322d0c