From: Jim I. <ji...@ap...> - 2003-12-03 19:23:50
|
How you get to Tcl.framework isn't really important, I think. The important point is whether the Tcl file inside the Tcl.framework is an actual file or a link to the one in Versions/8.4. The problem is that depending on how you happen to link to things, you can get the actual load command in the binary that links to Tcl to either be Tcl.framework/Tcl OR Tcl.framework/Versions/8.4/Tcl (or what seems to be the case for you, to BOTH). Normally, it doesn't matter how you record the path to the file, since the linker resolves file system links and is smart enough to know that the two are actually the same file. But if they aren't the same file, then the linker will bring in two copies of the Tcl library, and you will get link errors. Jim On Dec 3, 2003, at 11:05 AM, Philipp Roessler wrote: >> From your snippet, I note: >> >> >>> /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl(tclIOUtil.o) >>> definition of _TclFSSetPathDetails >>> /Library/Frameworks/Tcl.framework/Tcl(tclIOUtil.o) definition of >>> _TclFSSetPathDetails >>> >> >> The multiply defined symbols are not between the tcl framework & the >> tcl dylib anymore. They are between two versions of the Tcl library >> WITHIN the Tcl framework... >> >> /Library/Frameworks/Tcl.framework/Tcl should be a LINK to >> /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl. > > Actually, "/Library/Frameworks/Tcl.framework" is a symbolic link to > "System/Library/Frameworks/Tcl.framework". > I never had a real Tcl.framework lying in /Library/Frameworks/, only > soft links. Before Panther this pointed to a Tcl.framework residing in > my home directory (in fact this is where the my Tk.framework lies). > > Phil > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > -- Jim Ingham ji...@ap... Developer Tools Apple Computer |