Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d7e5d3657becafcef32e52c6cac70cea6a04789b
Ticket: 3598282fffffffffffffffffffffffffffffffff
unix: make install fails when DESTDIR is used
User & Date: roflz on 2012-12-24 05:06:06
Changes

  1. assignee changed to: "stwo"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    while doing make install, ./tclsh gets invoked. however that assumes that the dynamic linker knows the location of libtcl8.6.so
    
    if no previous installation of tcl is available on the host, and DESTDIR is used, this shared object cannot be found, the tclsh binary not started and subsequently the build breaks.
    (the dynlinker searches in /lib or /usr/lib, but when DESTDIR is e.g. /opt/tcl, it won't find any shared objects there)
    
    thus, LD_LIBRARY_PATH must be used when invoking the tclsh binary.
    
    as a temporary workaround:
    export LD_LIBRARY_PATH=.
    make install DESTDIR=xxx
    
    makes the build succeed.
    
  4. foundin changed to: "current: 8.6.0"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "roflz"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to: "unix: make install fails when DESTDIR is used"
  12. type changed to: "Bug"