Skip to content
Tcl Source Code Artifact [98b267a8ad]
Login

Artifact [98b267a8ad]

Artifact 98b267a8ad6b0a4638a22795930f07bf7b472ef8585ae5bda2ce6ad16682c894:

Ticket change [98b267a8ad] - Ticket [113be1991e726247|113be1991e] <i>zipfs on mac</i> status still Open with 4 other changes by marc_culler on 2021-01-22 16:33:19.
D 2021-01-22T16:33:19.278
J icomment I\sreally\sdon't\sunderstand\syour\sinvocation\sof\sinstall_name_tool.\s\sYou\sseem\r\nto\sbe\strying\sto\schange\sthe\s"identification\sname"\sof\sthe\s.dylib\sfile,\snot\sthe\r\nload\spath\sfor\sany\sof\sthe\sshared\slibraries\sthat\sit\sdepends\supon.\sTo\sdo\sthat\r\nyou\sare\ssupposed\sto\suse\sthe\s-id\soption.\s\sI\sam\sable\sto\schange\sthe\sid\sof\sthe\sTcl\r\nlibrary\sthat\sI\sbuilt\susing\sthe\sstandard\smake\s-C\smacosx\scommand.\sThe\slibrary\r\ndependencies\sof\sthat\sTcl\slibrary\sare\sall\ssystem\slibraries,\sfor\swhich\sa\sstatic\r\nglobal\spath\sshould\sbe\sfine.\s\sThey\sare:\r\n\r\n/usr/lib/libz.1.dylib\r\n/usr/lib/libSystem.B.dylib\r\n/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\r\n\r\nI\scan't\simagine\swhy\syou\swould\swant\sto\schange\sany\sof\sthose,\swhich\sis\sall\sthat\r\ncan\sbe\sdone\swith\sthe\s-change\soption.\r\n\r\nI\salso\sdon't\sunderstand\show\swhen\sor\swhy\sa\szip\sfile\swould\sbe\sgetting\sappended\r\nto\sthe\sTcl\sdynamic\slibrary.\s\sI\scan\sbelieve\sthat\sthere\sis\sa\smake\soption\sthat\r\ndoes\sthat,\sbut\sI\sdon't\sknow\swhat\sit\sis.\sI\scan\salso\sbelieve\sthat\ssimply\r\nappending\sa\srandom\sfile\sto\sthe\send\sof\sa\smach-O\sdynamic\slibrary\sdoes\snot\shave\r\nthe\seffect\sof\sextending\sthe\sTEXT\ssegment.\s\sI\sneed\sa\slot\smore\sexplanation\sabout\r\nwhat\sthe\sgoal\sis\shere\sand\salso\swhat\sthe\smechanism\sis\sfor\sappending\sa\szip\sfile.\r\n\r\nA\sdynamic\slibrary\s(often\sbut\snot\salways\snamed\swith\sthe\s.dylib\sextension)\scan\r\nbe\sused\sfor\seither\slinking\sor\sfor\sloading\sdynamically.\s\sIt\sis\snot\spossible\sto\r\nlink\sagainst\sa\s"shared\slibrary"\s(usually\s.so\sor\s.bundle).\s\sThe\sTcl\slibrary\r\ncreated\sby\sthe\sstandard\sbuild\sis\sa\sdynamic\slibrary\sbut\sit\sis\sjust\snamed\sTcl.\r\nMy\sunderstanding\sis\sthat\sthe\sdynamic\slibrary's\sidentification\sname\sis\sonly\r\nused\swhen\san\sexecutable\sor\slibrary\sis\slinked\sagainst\sit,\sand\sthat\sit\sgets\r\ncopied\sinto\sthe\slist\sof\slibrary\sload\spaths\sfor\sthe\sexecutable,\si.e.\sthe\spaths\r\nthat\sget\sdisplayed\sby\sotool\s-L\sbelow\sthe\sidentification\sname.
J login marc_culler
J mimetype text/plain
J username Marc\sCuller
K 113be1991e7262479a1843f3924540d7a08d8a88
U marc_culler
Z 1c6ec1170a6e5f7c924b70bba28cdd30