Subject: Pb with Gtk and Gettext
To: None <tech-pkg@netbsd.org>
From: Eric Jacoboni <jaco@teaser.fr>
List: tech-pkg
Date: 10/04/2001 11:18:24
Something is broken on my box with gtk... Some pkg install ok, some
not. If i look at their config.log, i often see:
ld: warning: libintl.so.1, needed by /usr/X11R6/lib/libgtk.so, not found \
(try using -rpath or -rpath-link)
/usr/X11R6/lib/libgtk.so: undefined reference to `dgettext'
/usr/X11R6/lib/libgtk.so: undefined reference to `bindtextdomain'
but:
$ ls -l /usr/local/lib/libintl.so*
lrwxr-xr-x 1 root wheel 14 Oct 4 00:27 \
/usr/local/lib/libintl.so -> libintl.so.1.0
lrwxr-xr-x 1 root wheel 14 Oct 4 00:27 \
/usr/local/lib/libintl.so.1 -> libintl.so.1.0
-rwxr-xr-x 1 root wheel 17464 Oct 4 00:27 \
/usr/local/lib/libintl.so.1.0
and:
$ pkg_info|grep gettext
gettext-lib-0.10.35nb1 tools for providing messages in different \
languages, libintl only
gettext-m4-0.10.35 autoconf/automake m4 files for GNU NLS library
gettext-0.10.35nb2 tools for providing messages in different
languages
It seems that /usr/local/lib is not searched:
# cd /usr/pkgsrc/graphics/gtkam
# make
(...)
ld: warning: libintl.so.1, needed by /usr/pkgsrc/graphics/gtkam/work.i386/.buildlink/lib/libgtk.so, not found (try using -rpath or -rpath-link)
ld: warning: libgphoto2_port.so.0, needed by /usr/local/lib/libgphoto2.so, not found (try using -rpath or -rpath-link)
but:
# ls -l libgphoto2_port*
-rw-r--r-- 1 root wheel 67728 Oct 4 09:47 libgphoto2_port.a
-rwxr-xr-x 1 root wheel 838 Oct 4 09:47 libgphoto2_port.la
lrwxr-xr-x 1 root wheel 22 Oct 4 09:47 libgphoto2_port.so -> libgphoto2_port.so.0.3
lrwxr-xr-x 1 root wheel 22 Oct 4 09:47 libgphoto2_port.so.0 -> libgphoto2_port.so.0.3
-rwxr-xr-x 1 root wheel 51481 Oct 4 09:47 libgphoto2_port.so.0.3
(as you may see, i've reinstalled all theses libs, just in case...)
# cd /usr/pkgsrc/sysutils/xcdroast/
# make
(...)
ld: warning: libintl.so.1, needed by /usr/X11R6/lib/libgtk.so,\
not found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libgtk.so: undefined reference to `dgettext'
/usr/X11R6/lib/libgtk.so: undefined reference to `bindtextdomain'
*** Error code 1
I've checked my /etc/ld.so.conf:
# cat /etc/ld.so.conf
/usr/local/lib
#
Any clue ?
--
Éric Jacoboni, né il y a 1305629895 secondes