Prev: NYC LOCAL: Wednesday 7 July 2010 NYCBUG: Mark Chu-Carroll on the Go Programming Language
Next: How to stop DHCP overwriting /etc/resolv.conf?
From: Johan van Selst on 8 Jul 2010 11:57 Once upon a newsgroup, The Doctor claimed: >>libiconv is compiled correctly yet any programme need iconv I get >>/usr/lib/libintl.a(dcigettext.o)(.text+0x8b1): In function `_nl_find_msg': >>: undefined reference to `libiconv_open' What operating system are you using? At least FreeBSD doesn't have any /usr/lib/libintl.a Neither FreeBSD nor NetBSD have libiconv_open: they use iconv_open. >>And I did compile from ports. What program did you compile? >>Seems to be a iconv/BSD issue. I'm not convinced. >>Anyone knows about this and a workaround? You'll have to be more specific - a link to the complete configure/build output of your program might be useful. Ciao, Johan -- Why do we always come here - I guess we'll never know. It's like a kind of torture to have to watch the show.
From: Johan van Selst on 8 Jul 2010 12:45
["Followup-To:" header set to comp.unix.bsd.freebsd.misc.] Once upon a newsgroup, The Doctor claimed: >>Once upon a newsgroup, The Doctor claimed: >>>>libiconv is compiled correctly yet any programme need iconv I get >>>>/usr/lib/libintl.a(dcigettext.o)(.text+0x8b1): In function `_nl_find_msg': >>>>: undefined reference to `libiconv_open' >>What operating system are you using? At least FreeBSD doesn't have any >>/usr/lib/libintl.a > FreeBSD 7 > /usr/local/lib/libiconv.a This confuses me: the error message you quoted is not about /usr/local/lib/libiconv.a but about /usr/lib/libintl.a, a file that is not usually present on FreeBSD 7 machines. If you do have a /usr/lib/libintl.a file on your system, please move (or delete) it, and then try again. >>>>Anyone knows about this and a workaround? >>You'll have to be more specific - a link to the complete configure/build >>output of your program might be useful. > as in a script? Yeah, script works. Just do $ cd /usr/ports/devel/gettext $ script $ make clean build ^D and post (a link to) the resulting 'typescript' file - or mail it to me if you prefer and I'll have a look. Ciao, Johan -- Why do we always come here - I guess we'll never know. It's like a kind of torture to have to watch the show. |