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 444955 - Missing -l flag prevents compiling
Missing -l flag prevents compiling
Status: RESOLVED FIXED
Product: GnomeICU
Classification: Deprecated
Component: General
0.99.x
Other Mac OS
: Normal normal
: 1.0
Assigned To: gnomeicu-maint
gnomeicu-maint
Depends on:
Blocks:
 
 
Reported: 2007-06-07 01:30 UTC by Daniel Macks
Modified: 2007-07-15 23:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Pass -lintl to gnomeicu-client linker if needed (299 bytes, patch)
2007-06-07 01:30 UTC, Daniel Macks
none Details | Review

Description Daniel Macks 2007-06-07 01:30:06 UTC
On OS X 10.3, compiling gnome-icu 0.99.12 crashes while linking gnomeicu-client due to several undefined _libintl_* symbols that are used in the gnomeicu-client.c source. My gettext is supplied by an external libintl library instead of being in ligcbut -lintl was not getting passed to the linker. During ./configure, I see:

checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes

So it clearly does detect where gettext is, but then that result is not propagated into the makefile.
Comment 1 Daniel Macks 2007-06-07 01:30:56 UTC
Created attachment 89524 [details] [review]
Pass -lintl to gnomeicu-client linker if needed
Comment 2 Olivier Crête 2007-07-15 23:30:19 UTC
Thanks for the patch, in SVN...