After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 78434 - Missing -lintl (for bind_textdomain_codeset)
Missing -lintl (for bind_textdomain_codeset)
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Build
cvs (head)
Other opensolaris
: Normal major
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 80766 99952 142724 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-11 19:41 UTC by Morten Welinder
Modified: 2005-01-06 09:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Morten Welinder 2002-04-11 19:41:56 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'
Comment 1 Morten Welinder 2002-05-02 17:21:15 UTC
This is wrecking Solaris support.  Upping severity.
Comment 2 Seth Nickell 2002-05-10 05:30:16 UTC
It also apparently affects older versions of glibc, not just a Solaris
issue.
Comment 3 Seth Nickell 2002-05-10 05:30:50 UTC
*** Bug 80766 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2002-05-14 20:54:13 UTC
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].
Comment 5 Seth Nickell 2002-06-19 21:06:09 UTC
I know exactly -0- about these libraries. What's the proper way to
check if I need to explicitly add "-lintl" ?
Comment 6 Ian McKellar 2002-06-19 21:57:43 UTC
*grumble*

I wish people who built packages for non-Linux platforms would send
their patches upstream.
Comment 7 Morten Welinder 2002-06-21 13:54:03 UTC
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?
Comment 8 Ian McKellar 2002-06-21 22:06:50 UTC
Nothing, I guess, though I'll take a patch for gnome-vfs to work
around Owen's slackness if needed :)
Comment 9 David Kennedy 2002-11-30 06:25:15 UTC
*** Bug 99952 has been marked as a duplicate of this bug. ***
Comment 10 jrasku 2002-11-30 23:05:33 UTC
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?
Comment 11 Abel Cheung 2003-08-08 01:16:09 UTC
What's the status on this one? #70627 has been marked as fixed again....
Comment 12 Kjartan Maraas 2003-10-29 11:47:49 UTC
Morten, any update on this situation?
Comment 13 Morten Welinder 2003-10-29 14:25:25 UTC
Still needed.
Comment 14 Christophe Fergeau 2004-07-20 20:45:45 UTC
*** Bug 142724 has been marked as a duplicate of this bug. ***
Comment 15 Kjartan Maraas 2005-01-06 09:28:42 UTC
Closing this as fixed since the glib bug referenced has been closed. Reopen if
this still needs fixing outside of glib.