Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8303f162b3199f8b214357f0dbadcad92b853f45
Ticket: 3401063fffffffffffffffffffffffffffffffff
ldconfig was not ran, so libtcl8.5.so was not found later
User & Date: joxy on 2011-09-01 00:31:56
Changes

  1. icomment:
    Comment title: Linker options for both tcl's make and for a program.
    
    (A program is openmsx, and openmsx chat log connected with this tcl tracker item is here -- might have some details: https://sourceforge.net/tracker/?func=detail&aid=3401010&group_id=38274&atid=421861 )
    
    1. openmsx's ldflags: TCL_LDFLAGS:=-L/usr/local/lib
    
    (So openmsx's build process found a correct location for TCL8.5.)
    
    2. tcl's ldflags:
    
    Lines from /usr/local/lib/tclConfig.sh (attached to this tracker item):
    
    # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
    # run-time dynamic linker where to look for shared libraries such as
    # libtcl.so.  Used when linking applications.  Only works if there
    # is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
    TCL_CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    TCL_LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    
    This does not specify which Makefile must define this LIB_RUNTIME_DIR variable.
    
    
  2. login: "joxy"
  3. mimetype: "text/plain"
  4. username: "joxy"