Subject: pkg/14360: x11/gtk: gtk-config does not list "-lintl"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 10/26/2001 19:11:11
>Number: 14360
>Category: pkg
>Synopsis: x11/gtk: gtk-config does not list "-lintl"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 26 03:12:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Jun-ichiro itojun Hagino
>Release: 1.5Y and latest pkgsrc
>Organization:
itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.5Y NetBSD 1.5Y (STARFRUIT) #0: Thu Oct 18 11:35:52 JST 2001 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/x11/gtk installs libgtk.a, and it depends on libintl
(/usr/lib/libintl.a if you are using netbsd-current). however,
"/usr/X11R6/bin/gtk-config --libs" does not list -lintl in its output.
therefore, any gtk-aware tools built after this gtk-config
(such as ethereal) fails to build.
>How-To-Repeat:
cd pkgsrc/x11/gtk
make
make install
/usr/X11R6/bin/gtk-config --libs, and notice that there's no -lintl.
nm /usr/X11R6/lib/libgtk.a | grep gettext, and notice that
it does depend on libintl.
try to build ethereal from source. it will invoke gtk-config --libs
and tries to find library dependency. it fails to find -lintl,
and fails to build GUI veresion of the binary.
>Fix:
not sure. i am too novice about gtk.
>Release-Note:
>Audit-Trail:
>Unformatted: