Subject: pkg/25596: pkgsrc/archivers/gsharutils: Unresolved: _nl_default_dirname
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 05/16/2004 16:14:41
>Number:         25596
>Category:       pkg
>Synopsis:       pkgsrc/archivers/gsharutils: Unresolved: _nl_default_dirname
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 16:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
compiling pkgsrc/archivers/gsharutils fails with

cc -L/usr/local/pkg/lib -Wl,-rpath,/usr/local/pkg/lib -liconv -o shar shar.o encode.o ../lib/libshar.a -lintl -liconv ../lib/libshar.a -lintl -lintl -lintl -liconv
ld:
Unresolved:
_nl_default_dirname
*** Error code 1

A comment in src/shar.c says about _nl_default_dirname: "Defined in dcgettext.c",
which refers to intl/dcgettext.c.
This code however does not seem to be used.
When not using the pkgsrc gettext-lib (by commenting out the respective include in the pkgsrc/archivers/gsharutils/Makefile) the package compiles.


>How-To-Repeat:

>Fix:

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