Tk Source Code

View Ticket
Login
Ticket UUID: 220679
Title: wish fails to link
Type: Bug Version: obsolete: 8.3
Submitter: welch Created on: 2000-10-31 23:50:32
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2000-11-01 06:50:33
Resolution: Fixed Closed By: welch
    Closed on: 2000-10-31 23:50:33
Description:
OriginalBugID: 4176 Bug
Version: 8.3
SubmitDate: '2000-02-14'
LastModified: '2000-02-25'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: AIX
OSVersion: 4.3.3
Machine: IBM RS/6000 43P Model 150
FixedDate: '2000-02-25'
FixedInVersion: 8.3.1


Name: Dave Marquardt

Comments:
AIX can't find libtk8.3.so.  The AIX linker "ld" doesn't understand how
    to find .so files, just .a files.  So
    libtk8.3.so file needs to be specified directly on the command line, or
    the command line needs to include

    -bI:/usr/local/src/tk8.3.0/unix/lib.exp

    which will also find the libtk8.3.so file.

ReproducibleScript:
wish fails to link.  I ran

./configure --enable-shared
make

ObservedBehavior:
wish fails to link.  Here's the output from make:

        cc  tkAppInit.o  -L/usr/local/src/tk8.3.0/unix -ltk8.3  -L/usr/local/src/tcl8.3.0/unix   -lX11 -ldl -bI:/usr/local/src/tcl8.3.0/unix/lib.exp -lm -lc -L/usr/local/lib -o wish
ld: 0706-006 Cannot find or open library file: -l tk8.3
        ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.

Stop.

DesiredBehavior:
I expect wish to link correctly.



The problem was that the TCL_NEEDS_EXP_FILE in aclocal.m4 got
set to 0 when it should be 1 by default.  This is fixed for 8.3.1. 
-- 02/25/2000 hobbs