Skip to content
Tcl Source Code Artifact [2457f8d07d]
Login

Artifact [2457f8d07d]

Artifact 2457f8d07d3ff755fdd348bb96f963b48d8a233f:

Ticket change [2457f8d07d] - Ticket [1960628fffffffff|1960628fff] <i>TEA adjustments/fixes</i> status still Open with 4 other changes by jenglish on 2009-03-12 13:46:04.
D 2009-03-12T13:46:04
J icomment (For\sfuture\sreference):\sOn\sthe\schat,\sstu\spointed\s(again)\sto:\shttp://www.openbsd.org/porting/libraries.html\n\n...\swhich\sif\sI\sunderstand\scorrectly\sis\stalking\sabout\smore\sor\sless\sthe\sstandard\sELF\srules\sfor\sdynamically-linked\slibraries\sand\sSONAMES.\s\sSo\sthere\sdoesn't\sseem\sto\sbe\sanything\shugely\sdifferent\sbetween\sthe\s*BSDs\sand\sother\smodern\sUnices.\n\nHowever\s--\sand\sthis\sis\sthe\spart\sthat\sseems\sto\sbe\swidely\smisunderstood\s--\sthe\s"libfoo.so.major.minor"\sSONAME\snaming\sscheme\sis\sonly\srelevant\sfor\sshared\slibraries\sthat\sare\sdynamically\s*linked*.\n\nFor\sshared\slibraries\sthat\sare\sdynamically\s*loaded*\s--\slike\sTcl\sextensions!\s--\sthe\sSONAME,\sand\sthe\sfilename,\sare\sutterly\sirrelevant\sas\sfar\sas\sdlopen()\sis\sconcerned.\s\n\n(And\sas\sfar\sas\sthe\sTcl\s[load]\scommand\sis\sconcerned,\sthe\sonly\spart\sof\sthe\sfilename\sthat\smatters\sis\sthe\sbit\sbetween\sthe\soptional\sleading\s"lib"\sand\sthe\sfirst\snonalphaorunderline\scharacter.\s\sSee\sTcl_LoadObjCmd()).\n\nAFAICT,\sall\sthe\sautogoo\strying\sto\sguess\sthe\s"right"\s${SHARED_LIB_SUFFIX}\sis\sa\sPWOT,\sa\sWOMBAT,\sa\stapdancing\sbadger.\s\s\sOn\severy\sUnix\sI've\sseen\sin\sthe\slast\s10\syears,\syou\scould\sname\sthe\sshared\slibrary\s"FOO.DLL"\sand\sin\sTcl\ssay\s[package\sifneeded\sfoo\sX.Y\s[list\sload\s[file\sjoin\s$dir\sFOO.DLL]]]\sand\severything\swould\swork\sJust\sFine.\n\nWhat\sam\sI\smissing?\n
J login jenglish
J mimetype text/plain
J username jenglish
K 1960628fffffffffffffffffffffffffffffffff
U jenglish
Z 63d2e137d75291aaed4cfa17c3b79878