Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d23e77c68e44a087f20876addb6d1a85c0329b63
Ticket: 958212ffffffffffffffffffffffffffffffffff
problem building on MacOS X: duplicate libs
User & Date: reowen on 2004-05-21 19:56:22
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I like to have a unix/ build of Tcl/Tk on my MacOS X box so I can see how my application looks to unix users. In other words, I build tcl/tk from source as if for vanilla unix and it ends up in usr/local and talks to Apple's X11. (This is entirely separate from an aqua framework build, which I also have.)
    
    Normally this has worked flawlessly, but for some reason I'm having trouble installing tcl/tk8.4.6.
    
    The worst problem was as follows (I'll report the other as a separate message): it seems there are duplicate tclStubLib.o libraries generated and this makes the tk make very upset:
    
    ld: warning multiple definitions of symbol _tclIntPlatStubsPtr
    /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) definition of _tclIntPlatStubsPtr
    /Users/rowen/tk8.4.6/unix/libtk8.4.dylib(tclStubLib.o) definition of _tclIntPlatStubsPtr
    ld: warning multiple definitions of symbol _tclIntStubsPtr
    /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr
    /Users/rowen/tk8.4.6/unix/libtk8.4.dylib(tclStubLib.o) definition of _tclIntStubsPtr
    ld: warning multiple definitions of symbol _Tcl_InitStubs
    /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs
    /Users/rowen/tk8.4.6/unix/libtk8.4.dylib(tclStubLib.o) definition of _Tcl_InitStubs
    ld: warning multiple definitions of symbol _tclStubsPtr
    /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) definition of _tclStubsPtr
    /Users/rowen/tk8.4.6/unix/libtk8.4.dylib(tclStubLib.o) definition of _tclStubsPtr
    ld: warning multiple definitions of symbol _tclPlatStubsPtr
    /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr
    /Users/rowen/tk8.4.6/unix/libtk8.4.dylib(tclStubLib.o) definition of _tclPlatStubsPtr
    ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
    symbol _tclPlatStubsPtr used from dynamic library /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic library /usr/local/lib/libtk8.4.dylib(tclStubLib.o)
    symbol _tclIntStubsPtr used from dynamic library /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic library /usr/local/lib/libtk8.4.dylib(tclStubLib.o)
    symbol _Tcl_InitStubs used from dynamic library /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic library /usr/local/lib/libtk8.4.dylib(tclStubLib.o)
    symbol _tclStubsPtr used from dynamic library /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic library /usr/local/lib/libtk8.4.dylib(tclStubLib.o)
    symbol _tclIntPlatStubsPtr used from dynamic library /Users/rowen/tcl8.4.6/unix/libtcl8.4.dylib(tclStubLib.o) not from earlier dynamic library /usr/local/lib/libtk8.4.dylib(tclStubLib.o)
    [rowen:~/tk8.4.6/unix] rowen% 
    
    I ignored the problem and went ahead and installed, and it seems to work. But I can't build "snack", and the errors I got when I tried suggest it may be for the same reason.
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "reowen"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "problem building on MacOS X: duplicate libs"
  11. type changed to: "Bug"