Tk Source Code

View Ticket
Login
Ticket UUID: 220444
Title: Tk tests fail due to Makefile problem
Type: Bug Version: obsolete: 8.0.4
Submitter: welch Created on: 2000-10-31 23:34:12
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-04-25 06:55:15
Resolution: Fixed Closed By: dgp
    Closed on: 2001-04-24 23:55:15
Description:
OriginalBugID: 1409 Bug
Version: 8.0.4
SubmitDate: '1999-03-02'
LastModified: '1999-08-13'
Severity: LOW
Status: Released
Submitter: pat
ChangedBy: hobbs
RelatedBugIDs: 957 1951 1896 2195
OS: Digital Unix
Machine: Other
FixedDate: '1999-08-13'
FixedInVersion: 8.1


Name:
James Bonfield

Extensions:
4.0

ReproducibleScript:
The Makefile links with -rpath /usr/local/lib, which means the tests will fail
(and indeed the pogram crashes) as even specifying LD_LIBRARY_PATH will not
prevent tktest from using whatever version of libtk.so is installed in /usr/local/lib. This is probably not an issue when generating static libraries.

Note that _RLD_LIST can be specified instead to ensure preloading of the correct
library. This requires Makefile changes, so I haven't submitted a patch (I do
not know enough about autoconf etc).

I changed the LD_LIBRARY_PATH line in the makefile with something like:

_RLD_LIST=`pwd`/libtk8.0.so:${TCL_BIN_DIR}/libtcl8.0.so:DEFAULT

ObservedBehavior:
Tests appear to fail, but this is very misleading.

DesiredBehavior:
Tests work.



This problem should be alleviated with the rework of the configure
scripts for 8.1. 
-- 08/13/1999 hobbs