Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c34fc1742bcca2fe3f7e9c938f8e1ecfd1e2f9ef
Ticket: 218922ffffffffffffffffffffffffffffffffff
Tcl Tests don't support AIX's LIBPATH shlib search path
User & Date: nobody on 2000-10-26 01:07:56
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2793 Bug
    Version: 8.2
    SubmitDate: '1999-09-16'
    LastModified: '1999-09-20'
    Severity: LOW
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: AIX
    OSVersion: 4.3.2
    Machine: RS6000
    FixedDate: '1999-09-20'
    FixedInVersion: 8.2.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Nick Kisseberth
    
    
    Comments:
    
    Simply added LIBPATH equivalent lines whereever LD_LIBRARY_PATH
    
        was used in Makefile.in. 
    
    
        env.test needed to export LIBPATH for child tcltest as well.
    
    
    ObservedBehavior:
    
    Tcl doesn't set LIBPATH prior to running tcltest when running tests.
    
        LIBPATH is AIX's equivalent of LD_LIBRARY_PATH.
    
    
    DesiredBehavior:
    
    LIBPATH support in Tcl tests
    
    
    Patch:
    
    *** tcl8.2.0/unix/Makefile.in   Fri Aug 13 17:02:47 1999
    
    --- tcl8.2.0-AIX/unix/Makefile.in       Thu Sep  9 11:30:49 1999
    
    ***************
    
    *** 431,436 ****
    
    --- 431,437 ----
    
    
      test: tcltest
    
            LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
    
    +       LIBPATH=`pwd`:${LIBPATH}; export LIBPATH; \
    
            SHLIB_PATH=`pwd`:${SHLIB_PATH}; export SHLIB_PATH; \
    
            TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \
    
            ./tcltest $(TOP_DIR)/tests/all.tcl
    
    ***************
    
    *** 438,443 ****
    
    --- 439,445 ----
    
      # Useful target to launch a built tcltest with the proper path,...
    
      runtest: tcltest
    
            LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
    
    +       LIBPATH=`pwd`:${LIBPATH}; export LIBPATH; \
    
            SHLIB_PATH=`pwd`:${SHLIB_PATH}; export SHLIB_PATH; \
    
            TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \
    
            ./tcltest
    
    *** tcl8.2.0/tests/env.test     Thu Jul  8 14:44:43 1999
    
    --- tcl8.2.0-AIX/tests/env.test Thu Sep  9 11:31:07 1999
    
    ***************
    
    *** 78,84 ****
    
            lrem names ComSpec
    
            lrem names ""
    
          } 
    
    !     foreach name {TCL_LIBRARY PATH LD_LIBRARY_PATH PURE_PROG_NAME DISPLAY SHLI
    
    B_PATH } {
    
            lrem names $name
    
          }
    
          foreach p $names {
    
    --- 78,84 ----
    
            lrem names ComSpec
    
            lrem names ""
    
          } 
    
    !     foreach name {TCL_LIBRARY PATH LIBPATH LD_LIBRARY_PATH PURE_PROG_NAME DISP
    
    LAY SHLIB_PATH } {
    
            lrem names $name
    
          }
    
          foreach p $names {
    
    ***************
    
    *** 106,112 ****
    
      # Added the following lines so that child tcltest can actually find its
    
      # library if the initial tcltest is run from a non-standard place.
    
      # ('saved' env vars)
    
    ! foreach name {TCL_LIBRARY PATH LD_LIBRARY_PATH DISPLAY SHLIB_PATH} {
    
        if {[info exists env2($name)]} {
    
           set env($name) $env2($name);
    
        }
    
    --- 106,112 ----
    
      # Added the following lines so that child tcltest can actually find its
    
      # library if the initial tcltest is run from a non-standard place.
    
      # ('saved' env vars)
    
    ! foreach name {TCL_LIBRARY PATH LIBPATH LD_LIBRARY_PATH DISPLAY SHLIB_PATH} {
    
        if {[info exists env2($name)]} {
    
           set env($name) $env2($name);
    
        }
    
    
    PatchFiles:
    
    unix/Makefile.in
    
        tests/env.test
    
    
    
    
    Fixed in 8.2.1. 
    -- 09/20/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    Tcl Tests don't support AIX's LIBPATH shlib search path
    
  11. type changed to: "Bug"