Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 580c55a21b07bc03e2997182c1bd9fc562e3b7c0
Ticket: 3401063fffffffffffffffffffffffffffffffff
ldconfig was not ran, so libtcl8.5.so was not found later
User & Date: joxy on 2011-09-01 00:13:33
Changes

  1. icomment:
    I don't comprehend what your pronouns refer to.
    
    1. "What linker options did it actually use?" Here, "it"=tcl's 'make' process OR "it"=a program that is using tcl? (In my next comment, I will try to list linker options for both tcl's make and for a program.)
    
    2. "the -rpath option". It seems that in Linux, there is not standard location for tcl's libtcl8.*.so: in Ubuntu lucid repos, it is /usr/lib, and in the defaults of source package of tcl8.5, it is /usr/local/lib:
    $ ls /usr/lib/libtcl8.4.so
    /usr/lib/libtcl8.4.so
    $ ls /usr/local/lib/libtcl8.5.so 
    /usr/local/lib/libtcl8.5.so
    $ 
    
    Therefore, the user program cannot know where to search for libtcl*.so in a 'standard' tcl installation. Therefore, some mechanism like ld.so's path database (/etc/ld.so.conf) must be used.
    
    3. "this should be enabled by default; it needs to be switched off for a build for a Linux distro though)." Here, what phrase "this" refers to? And also: what phrase "it" refers to?
    
    
  2. login: "joxy"
  3. mimetype: "text/plain"
  4. username: "joxy"