Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 1996 14:03:35 +0500
From:      A JOSEPH KOSHY <koshy@india.hp.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2006: Tclsh fails on `info sharedlibextension' : Fix Enclosed.
Message-ID:  <199611140903.AA011182215@fakir.india.hp.com>
Resent-Message-ID: <199611140840.AAA24002@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2006
>Category:       bin
>Synopsis:       Tclsh fails on `info sharedlibextension'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 00:40:08 PST 1996
>Last-Modified:
>Originator:     Joseph Koshy
>Organization:
HP International Software Operation, Bangalore, India.
Email: <koshy@india.hp.com>, Telnet: 847-1020, Phone: +91-80-2251554 ext 211
These are my personal opinions.
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

FreeBSD 2.2-CURRENT as of Oct 25th 1996.

>Description:

The `info sharedlibextension' command in TCLSH fails.  This breaks various
Tcl/Tk utilities that require this feature.

>How-To-Repeat:

    $ tclsh
    % info sharedlibextension
    %

This should be

    $ tclsh
    % info sharedlibextension
    .so
    %

>Fix:
	
The problem arises because a compile time define is missed out by
`tbl_bmake'.  Diff -u follows:

krill# pwd
/usr/src/tools/tools/tcl_bmake
krill# diff -u mkMakefile.sh-- mkMakefile.sh
- --- mkMakefile.sh--     Thu Nov  7 17:03:38 1996
+++ mkMakefile.sh       Thu Nov 14 14:18:23 1996
@@ -25,7 +25,7 @@
 foo:
        @echo ${OBJS}
 bar:
- -       @echo ${AC_FLAGS}
+       @echo ${AC_FLAGS} -DTCL_SHLIB_EXT=\\\"${SHLIB_SUFFIX}\\\"
 ' >> m.x

 # Put a RCS Id  in the file, but not the one from this file :-)
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611140903.AA011182215>