Subject: pkg/26844: pkgsrc/x11/tk83 must use different library naming scheme
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 09/04/2004 11:25:33
>Number:         26844
>Category:       pkg
>Synopsis:       pkgsrc/x11/tk83 must use different library naming scheme
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 04 11:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
When installing pkgsrc/x11/tk83 on IRIX 5.3 I end up with
===> [Automatic none shared object handling]
UX:ls: ERROR: Cannot access /usr/local/pkg/lib/libtk83.a: No such file or directory
UX:ls: ERROR: Cannot access /usr/local/pkg/lib/libtk83.la: No such file or directory
UX:ls: ERROR: Cannot access /usr/local/pkg/lib/libtk83.so: No such file or directory
UX:ls: ERROR: Cannot access /usr/local/pkg/lib/libtk83.so.1: No such file or directory
UX:ls: ERROR: Cannot access /usr/local/pkg/lib/libtk83.so.1.0: No such file or directory
UX:ls: ERROR: Cannot access /usr/local/pkg/lib/libtkstub83.a: No such file or directory
===> Registering installation for tk-8.3.4
pkg_create: can't stat `/usr/local/pkg/lib/libtk83.a'
pkg_create: can't stat `/usr/local/pkg/lib/libtk83.la'
pkg_create: can't stat `/usr/local/pkg/lib/libtk83.so'
pkg_create: can't stat `/usr/local/pkg/lib/libtk83.so.1'
pkg_create: can't stat `/usr/local/pkg/lib/libtk83.so.1.0'
pkg_create: can't stat `/usr/local/pkg/lib/libtkstub83.a'
tk-8.3.4 requires installed package tcl-8.3.4

This is caused by the libraries being named differently than expected by PLIST (as well as by software packages that link against libtk83, e.g. x11/ruby-tcltklib). Most likely some other platforms (e.g. IRIX6) are also affected.
>How-To-Repeat:

>Fix:
Just like with pkgsrc/lang/tcl83, patch unix/configure (and unix/configure.in?) to add the following lines for the affected platforms:

SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
TCL_LIB_VERSIONS_OK=nodots

>Release-Note:
>Audit-Trail:
>Unformatted: