Tk Source Code

View Ticket
Login
Ticket UUID: 220595
Title: tk tests need to use LIBPATH under AIX as well
Type: Bug Version: obsolete: 8.2
Submitter: welch Created on: 2000-10-31 23:47:45
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-03-28 05:27:38
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-27 22:27:38
Description:
OriginalBugID: 2797 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


Name:
Nick Kisseberth

Comments:
This patch also includes a line to include the definition of
    SHLIB_LD_LIBS, this is needed to work with the configuration patches
    I will post shortly.

ObservedBehavior:
tk's tests also need to set LIBPATH in addition to LD_LIBRARY_PATH in
    order
    to work as designed under AIX

Patch:
*** tk8.2.0/unix/Makefile.in    Fri Aug 13 17:06:14 1999
--- tk8.2.0-AIX/unix/Makefile.in        Sat Sep 11 17:40:15 1999
***************
*** 197,202 ****
--- 197,203 ----
  # The values of the symbolis normally set by the configure script.

  SHLIB_LD = @SHLIB_LD@
+ SHLIB_LD_LIBS = @SHLIB_LD_LIBS@

  # Additional search flags needed to find the various shared libraries
  # at run-time.  The first symbol is for use when creating a binary
***************
*** 396,401 ****
--- 397,403 ----
  test: tktest
        LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH};  export LD_LIBRARY_PATH;  +       LIBPATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; export LIBPATH;  SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH};  export SHLIB_PATH;  TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY;  ***************
*** 406,411 ****
--- 408,414 ----
  runtest:
        LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH};  export LD_LIBRARY_PATH;  +       LIBPATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; export LIBPATH;  SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH};  export SHLIB_PATH;  TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY;  
PatchFiles:
unix/Makefile.in



Added to 8.2.1 (note small bug in patch - LD_LIBRARY_PATH should
be LIBPATH for the LIBPATH lines). 
-- 09/20/1999 hobbs