Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7e807b6afbe8e8960ce219ef536940e80cfb096383364a9c5cc703350e4a9001
Ticket: 33b31074db3689cc4bf70735f558faf3ecf1b07f
Having problems with a OraTcl set up
User & Date: sebres on 2018-01-25 08:04:08
Changes

  1. icomment:
    As I can see, the new "installed" tcl-path (to tcl85.so, somewhere in your prefix
    tcl2018/...) is NOT in your LD_LIBRARY_PATH (resp. after another path pointing to old tcl85.so).
    As already said, in this case new ./tclsh8.5 loads just old library (finding via LD_LIBRARY_PATH).
    Additionally please note, that in your case (you've another, system-wide installed tcl8.5), 
    you should put your new path BEFORE path pointing to another library tcl85.so, like:
    
    LD_LIBRARY_PATH="$a/tcl2018/tcl8.5.19/lib:$LD_LIBRARY_PATH" ./tclsh
    
    As regards the "TCL_LIBRARY looks wrong" this will be probably an after-effect of this.
    But if after update of LD_LIBRARY_PATH, your `info patchlevel` will put correct version (8.5.19),
    but `info library` still returns wrong path, you can override it in your env before you start tclsh. 
    It should point to new path with init.tcl (I assume .../tcl2018/tcl8.5.19/library):
    
    LD_LIBRARY_PATH="$a/tcl2018/tcl8.5.19/lib:$LD_LIBRARY_PATH";
    TCL_LIBRARY="$a/tcl2018/tcl8.5.19/library";
    ./tclsh
    
  2. login: "sebres"
  3. mimetype: "text/plain"