GNOME Bugzilla – Bug 78434
Missing -lintl (for bind_textdomain_codeset)
Last modified: 2005-01-06 09:28:42 UTC
To get bind_textdomain_codeset, you need -lintl on non-linux systems. make[1]: Entering directory `/home/welinder/private/gnome/gnome-vfs/test' ... gcc -O2 -g -Wall -I/home/welinder/gnome/include -o .libs/test-async test-async.o -L/home/welinder/gnome/lib -L/usr/local/lib ../libgnomevfs/.libs/libgnomevfs-2.so /home/welinder/gnome/lib/libbonobo-2.so /home/welinder/gnome/lib/libORBitCosNaming-2.so -L/usr/ucblib -lsocket -lnsl -lsocket -lnsl -lsocket -lnsl -lsocket -lnsl /home/welinder/gnome/lib/libbonobo-activation.so /home/welinder/gnome/lib/libxml2.so -lsocket -lnsl -lz -lsocket -lnsl /home/welinder/gnome/lib/libgconf-2.so /home/welinder/gnome/lib/libORBit-2.so /home/welinder/gnome/lib/libpopt.so -lm /home/welinder/gnome/lib/liblinc.so -lresolv /home/welinder/gnome/lib/libgobject-2.0.so /home/welinder/gnome/lib/libgthread-2.0.so -lthread /home/welinder/gnome/lib/libgmodule-2.0.so /home/welinder/gnome/lib/libglib-2.0.so /home/welinder/gnome/lib/libiconv.so -lsocket -lnsl -lrt -R/home/welinder/gnome/lib ../libgnomevfs/.libs/libgnomevfs-2.so: undefined reference to `bind_textdomain_codeset'
This is wrecking Solaris support. Upping severity.
It also apparently affects older versions of glibc, not just a Solaris issue.
*** Bug 80766 has been marked as a duplicate of this bug. ***
It's not exactly wrecking Solaris support; Ximian and Sun just work around it by putting it in CFLAGS (IIRC). Would be nice to get it in, though. [see also bug 70627].
I know exactly -0- about these libraries. What's the proper way to check if I need to explicitly add "-lintl" ?
*grumble* I wish people who built packages for non-Linux platforms would send their patches upstream.
The correct way to fix this is to get Owen to fix bug 70627, but he is being unusually hard-headed about it. Ian: fixes are being sent upstream, but what can we do when Owen won't take an obvious fix?
Nothing, I guess, though I'll take a patch for gnome-vfs to work around Owen's slackness if needed :)
*** Bug 99952 has been marked as a duplicate of this bug. ***
I've tried changing this line: INTLLIBS = to: INTLLIBS = -lintl in the makefile. It's not using it for some reason, (I'm not seeing it in the command line listed). I'm probably doing something wrong, or maybe don't have the correct version of some library that this is depending on installed. I am running on a Linux system. Any ideas?
What's the status on this one? #70627 has been marked as fixed again....
Morten, any update on this situation?
Still needed.
*** Bug 142724 has been marked as a duplicate of this bug. ***
Closing this as fixed since the glib bug referenced has been closed. Reopen if this still needs fixing outside of glib.