Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a35fa2988cbfc06499795060dab2c7b974fbf75282ff13f51f5cb6ade1239f1
Ticket: f8608fc4209e5949aae34cf2a8e82bfc377e2ed3
RFE: linux : dynamic location of the tcl zipfs
User & Date: jan.nijtmans on 2021-06-10 13:50:59
Changes

  1. icomment:
    The code trying to locate the shared library where init.tcl is going to be found is here:
    
    [https://core.tcl-lang.org/tcl/file?udc=1&ln=3911-3913&ci=tip&name=generic%2FtclZipfs.c]
    
    You can see there is only one place being searched (on UNIX):
        CFG_RUNTIME_LIBDIR "/" CFG_RUNTIME_DLLFILE
    
    This won't work if the shared library is not in CFG_RUNTIME_LIBDIR. This could be elaborated more, e.g. by looping over all paths in env(LD_LIBRARY_PATH).
    
    For now, make sure that CFG_RUNTIME_LIBDIR during build is the actual directory where the shared library will be installed eventually.
    
    I changed this issue into an RFE, since - actually - it's not a bug. I agree that the current search is rather limited, so it should be extended.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"
  4. type changed to: "RFE"